Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 76.28 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 160.4 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5032,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 51.48 kB / 325.6 MB, free: 436 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.09147, allocations: 53.34 MB / 378.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003965/0.09543, allocations: 2.594 MB / 381.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.09672, allocations: 0.7168 MB / 382.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.09683, allocations: 7.938 kB / 382.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.09695, allocations: 35.64 kB / 382.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.09712, allocations: 91.2 kB / 382.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.09746, allocations: 123.7 kB / 382.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004205/0.09788, allocations: 374.5 kB / 382.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.09802, allocations: 72.75 kB / 382.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.09829, allocations: 163.4 kB / 383.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.09852, allocations: 151.4 kB / 383.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.09857, allocations: 36 kB / 383.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.044e-05/0.09866, allocations: 40 kB / 383.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.566e-05/0.09874, allocations: 67.8 kB / 383.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.0989, allocations: 135.4 kB / 383.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.09932, allocations: 378.6 kB / 383.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.09933, allocations: 0 / 383.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.09933, allocations: 0 / 383.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.09933, allocations: 0 / 383.9 MB, free: 10.8 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001543/0.1009, allocations: 0.6204 MB / 384.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.1009, allocations: 8.031 kB / 384.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.1011, allocations: 44.67 kB / 384.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.1015, allocations: 217.5 kB / 384.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.1015, allocations: 16.88 kB / 384.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.1015, allocations: 16.38 kB / 384.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007898/0.1023, allocations: 352.6 kB / 385.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1023, allocations: 0 / 385.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.1024, allocations: 4 kB / 385.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1024, allocations: 8 kB / 385.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009638/0.1033, allocations: 293.8 kB / 385.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.1052, allocations: 0.8248 MB / 386.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00298/0.1082, allocations: 498.2 kB / 386.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006602/0.1088, allocations: 196.7 kB / 386.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.1089, allocations: 4 kB / 386.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006941/0.1096, allocations: 270.6 kB / 387.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.1096, allocations: 0 / 387.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001629/0.1112, allocations: 480.8 kB / 387.7 MB, free: 6.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.572e-05/0.1113, allocations: 110.8 kB / 387.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.1115, allocations: 229.8 kB / 388 MB, free: 6.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.1116, allocations: 37.73 kB / 388 MB, free: 6.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.1117, allocations: 164.4 kB / 388.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.482e-05/0.1118, allocations: 75.38 kB / 388.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.1119, allocations: 53.92 kB / 388.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1121, allocations: 330.8 kB / 388.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005231/0.1126, allocations: 170.1 kB / 388.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005641/0.1132, allocations: 232.6 kB / 389 MB, free: 5.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009805/0.1141, allocations: 328.7 kB / 389.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1141, allocations: 0 / 389.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001203/0.1153, allocations: 440.6 kB / 389.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.1154, allocations: 33.7 kB / 389.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1154, allocations: 7.938 kB / 389.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1154, allocations: 8 kB / 389.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.1172, allocations: 263.6 kB / 390.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004963/0.1222, allocations: 3.171 MB / 393.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.1226, allocations: 56.09 kB / 393.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.1226, allocations: 12 kB / 393.3 MB, free: 0.8438 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001879/0.1228, allocations: 141.8 kB / 393.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.1229, allocations: 27.8 kB / 393.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.617e-05/0.1229, allocations: 30.12 kB / 393.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.1229, allocations: 7.984 kB / 393.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1229, allocations: 4 kB / 393.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.123, allocations: 0 / 393.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.1248, allocations: 0.7993 MB / 394.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1248, allocations: 0 / 394.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/0.1266, allocations: 259.7 kB / 394.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1266, allocations: 4 kB / 394.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.1266, allocations: 3.984 kB / 394.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005008/0.1316, allocations: 3.183 MB / 397.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1316, allocations: 4.156 kB / 397.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.1332, allocations: 0.6139 MB / 398.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.1333, allocations: 31.89 kB / 398.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.1333, allocations: 4 kB / 398.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.1337, allocations: 43.94 kB / 398.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.474e-05/0.1338, allocations: 27.95 kB / 398.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.1338, allocations: 12 kB / 398.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.134, allocations: 169.2 kB / 398.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.134, allocations: 0 / 398.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004993/0.1345, allocations: 87.83 kB / 398.8 MB, free: 11.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001541/0.1346, allocations: 103.2 kB / 398.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002653/0.1373, allocations: 0.5826 MB / 399.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1373, allocations: 4.125 kB / 399.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002003/0.1393, allocations: 379.6 kB / 399.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.1397, allocations: 44.39 kB / 399.9 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.1415, allocations: 0.6958 MB / 400.6 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.1416, allocations: 150 kB / 400.7 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.1418, allocations: 25.94 kB / 400.7 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/0.1418, allocations: 24.48 kB / 400.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1418, allocations: 0 / 400.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of Templates: time 0.008603/0.1504, allocations: 3.988 MB / 404.7 MB, free: 5.117 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.453149127075449]