Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009688/0.0009688, allocations: 87.62 kB / 21.43 MB, free: 3.125 MB / 18.57 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.004053/0.004053, allocations: 157.3 kB / 24.69 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.892/0.892, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.453e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.002546/0.002561, allocations: 2.52 MB / 301 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009589/0.00352, allocations: 0.7176 MB / 301.7 MB, free: 252 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.003627, allocations: 0 / 301.7 MB, free: 252 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.003746, allocations: 43.58 kB / 301.7 MB, free: 208 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.003872, allocations: 91.14 kB / 301.8 MB, free: 116 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.004146, allocations: 107.7 kB / 301.9 MB, free: 8 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1312/0.1353, allocations: 390.2 kB / 302.3 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.1355, allocations: 55.2 kB / 302.4 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.1358, allocations: 220.2 kB / 302.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.1359, allocations: 132.3 kB / 302.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.551e-05/0.136, allocations: 33.75 kB / 302.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.771e-05/0.136, allocations: 32.5 kB / 302.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.1361, allocations: 71.88 kB / 302.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.509e-05/0.1362, allocations: 109.6 kB / 302.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.1365, allocations: 385.8 kB / 303.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1365, allocations: 3.875 kB / 303.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1365, allocations: 1.656 kB / 303.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1365, allocations: 1.562 kB / 303.3 MB, free: 13.12 MB / 282.7 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.0009265/0.1374, allocations: 0.5936 MB / 303.9 MB, free: 12.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1375, allocations: 14.58 kB / 303.9 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.404e-05/0.1375, allocations: 53.92 kB / 304 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.1376, allocations: 36.3 kB / 304 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.1379, allocations: 209.3 kB / 304.2 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.1379, allocations: 16.97 kB / 304.2 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.1379, allocations: 22.12 kB / 304.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.1384, allocations: 333.9 kB / 304.6 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1384, allocations: 1.406 kB / 304.6 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.1384, allocations: 6.031 kB / 304.6 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1385, allocations: 9.406 kB / 304.6 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.139, allocations: 298.3 kB / 304.9 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.14, allocations: 0.8608 MB / 305.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.1414, allocations: 490.4 kB / 306.2 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00039/0.1418, allocations: 192.9 kB / 306.4 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1419, allocations: 5.5 kB / 306.4 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004081/0.1423, allocations: 265.8 kB / 306.7 MB, free: 11.6 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.1423, allocations: 0 / 306.7 MB, free: 11.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008983/0.1432, allocations: 463.3 kB / 307.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.1432, allocations: 110.2 kB / 307.2 MB, free: 11.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.1434, allocations: 233.6 kB / 307.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1434, allocations: 31.27 kB / 307.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.1435, allocations: 167.2 kB / 307.7 MB, free: 11.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.1435, allocations: 68.91 kB / 307.7 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/0.1436, allocations: 48.23 kB / 307.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.71e-05/0.1436, allocations: 335.6 kB / 308.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.1439, allocations: 165.8 kB / 308.3 MB, free: 10.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.1442, allocations: 228.2 kB / 308.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005428/0.1447, allocations: 322.1 kB / 308.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1447, allocations: 0 / 308.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006072/0.1453, allocations: 436 kB / 309.2 MB, free: 10.08 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.1454, allocations: 33.56 kB / 309.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1454, allocations: 1.281 kB / 309.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1454, allocations: 6.344 kB / 309.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007811/0.1462, allocations: 243.1 kB / 309.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.1483, allocations: 3.179 MB / 312.7 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.1485, allocations: 53.56 kB / 312.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.1485, allocations: 8.25 kB / 312.8 MB, free: 7.152 MB / 282.7 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 9.352e-05/0.1486, allocations: 142.9 kB / 312.9 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.1486, allocations: 31.73 kB / 312.9 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.1487, allocations: 34.23 kB / 313 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.1487, allocations: 3.906 kB / 313 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1487, allocations: 1.125 kB / 313 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1487, allocations: 2.469 kB / 313 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009928/0.1497, allocations: 0.8275 MB / 313.8 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1497, allocations: 1.25 kB / 313.8 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007651/0.1504, allocations: 228.2 kB / 314 MB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1504, allocations: 2.625 kB / 314 MB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.1504, allocations: 8.547 kB / 314 MB, free: 6.465 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/0.1524, allocations: 3.185 MB / 317.2 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1524, allocations: 8.75 kB / 317.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008099/0.1532, allocations: 0.5919 MB / 317.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/0.1532, allocations: 33.27 kB / 317.8 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1533, allocations: 6.641 kB / 317.9 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.1534, allocations: 39.8 kB / 317.9 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.1535, allocations: 33.36 kB / 317.9 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.1535, allocations: 6.5 kB / 317.9 MB, free: 3.277 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1536, allocations: 172 kB / 318.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1536, allocations: 0 / 318.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003059/0.1539, allocations: 81.86 kB / 318.2 MB, free: 3.156 MB / 282.7 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.0009361/0.1549, allocations: 1.139 MB / 319.3 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.1562, allocations: 0.5596 MB / 319.9 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1562, allocations: 1.312 kB / 319.9 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.1572, allocations: 345.3 kB / 320.2 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.1574, allocations: 42.77 kB / 320.3 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.1607, allocations: 3.198 MB / 323.5 MB, free: 80 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.781e-05/0.1608, allocations: 140.3 kB / 323.6 MB, free: 0 / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.1609, allocations: 24.48 kB / 323.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.161, allocations: 83.05 kB / 323.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.161, allocations: 4 kB / 323.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.1844, allocations: 7.387 MB / 331.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.165, allocations: 3.906 kB / 331.1 MB, free: 11.95 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.csv --start-time 0 --stop-time 0.0002 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.97456e-08 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,inductor.i,thyristor_v4_1.vControl Variables in the result:time,inductor.i,thyristor_v4_1.vControl [Calling sys.exit(0), Time elapsed: 9.936926278285682]