Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2618/0.2618, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 497.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4583, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003901/0.4622, allocations: 1.641 MB / 0.5504 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.4633, allocations: 440.9 kB / 0.5509 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.326e-05/0.4634, allocations: 1.156 kB / 0.5509 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.4639, allocations: 97.33 kB / 0.551 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.4642, allocations: 72.52 kB / 0.551 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.4646, allocations: 123.5 kB / 0.5511 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.4648, allocations: 100.6 kB / 0.5512 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.465, allocations: 19.84 kB / 0.5513 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.452e-05/0.4651, allocations: 41.83 kB / 0.5513 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.4652, allocations: 66.92 kB / 0.5514 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.4653, allocations: 9.344 kB / 0.5514 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.4654, allocations: 41.89 kB / 0.5514 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.771e-05/0.4655, allocations: 31.77 kB / 0.5514 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.4655, allocations: 42.58 kB / 0.5515 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.4658, allocations: 129.2 kB / 0.5516 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4658, allocations: 0 / 0.5516 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4658, allocations: 0 / 0.5516 GB, free: 11.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.4658, allocations: 0 / 0.5516 GB, free: 11.08 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006403/0.4665, allocations: 356.3 kB / 0.5519 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.4665, allocations: 8.875 kB / 0.552 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/0.4666, allocations: 15.36 kB / 0.552 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.4669, allocations: 160.4 kB / 0.5521 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.4669, allocations: 2.719 kB / 0.5521 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.4669, allocations: 4.812 kB / 0.5521 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.4671, allocations: 75.7 kB / 0.5522 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.4671, allocations: 0 / 0.5522 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.4672, allocations: 1.094 kB / 0.5522 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4672, allocations: 1.094 kB / 0.5522 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.4673, allocations: 44.83 kB / 0.5522 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.4679, allocations: 313.9 kB / 0.5525 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.4681, allocations: 61.92 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.805e-05/0.4682, allocations: 22.78 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.4682, allocations: 2.219 kB / 0.5526 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.4682, allocations: 39.81 kB / 0.5527 GB, free: 10.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.4682, allocations: 0 / 0.5527 GB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001251/0.4695, allocations: 339.4 kB / 0.553 GB, free: 9.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.4695, allocations: 57.97 kB / 0.553 GB, free: 9.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.4698, allocations: 228.7 kB / 0.5533 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.4699, allocations: 26.89 kB / 0.5533 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/0.47, allocations: 113.8 kB / 0.5534 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/0.47, allocations: 45.61 kB / 0.5534 GB, free: 9.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.645e-05/0.4701, allocations: 26.83 kB / 0.5535 GB, free: 9.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4702, allocations: 327.6 kB / 0.5538 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.4703, allocations: 43.09 kB / 0.5538 GB, free: 9.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.4705, allocations: 49.84 kB / 0.5539 GB, free: 9.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.4707, allocations: 110.4 kB / 0.554 GB, free: 9.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4707, allocations: 4 kB / 0.554 GB, free: 9.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003331/0.4711, allocations: 154.9 kB / 0.5541 GB, free: 8.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4711, allocations: 5.5 kB / 0.5541 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4711, allocations: 3.938 kB / 0.5541 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.4711, allocations: 9.047 kB / 0.5541 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.4712, allocations: 28.45 kB / 0.5542 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4713, allocations: 1 kB / 0.5542 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.005e-05/0.4713, allocations: 11.33 kB / 0.5542 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.4713, allocations: 3.344 kB / 0.5542 GB, free: 8.922 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.4715, allocations: 139.9 kB / 0.5543 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.4715, allocations: 14.84 kB / 0.5543 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004788/0.472, allocations: 193 kB / 0.5545 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.472, allocations: 1.469 kB / 0.5545 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.472, allocations: 0 / 0.5545 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.472, allocations: 0 / 0.5545 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008157/0.4728, allocations: 469.7 kB / 0.555 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4728, allocations: 1.094 kB / 0.555 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.4729, allocations: 24.67 kB / 0.555 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4729, allocations: 5.125 kB / 0.555 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.473, allocations: 6.094 kB / 0.555 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.473, allocations: 1.062 kB / 0.555 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.473, allocations: 3.938 kB / 0.555 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.4735, allocations: 258.2 kB / 0.5553 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/0.4735, allocations: 19.64 kB / 0.5553 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.4735, allocations: 2.406 kB / 0.5553 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.114e-05/0.4736, allocations: 7.438 kB / 0.5553 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.4737, allocations: 7.297 kB / 0.5553 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.4737, allocations: 4.656 kB / 0.5553 GB, free: 8.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002152/0.4739, allocations: 172.9 kB / 0.5555 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4739, allocations: 0 / 0.5555 GB, free: 7.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002881/0.4742, allocations: 27.25 kB / 0.5555 GB, free: 7.887 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001904/0.4761, allocations: 468.9 kB / 0.5559 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003833/0.4765, allocations: 114.8 kB / 0.556 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4765, allocations: 4 kB / 0.556 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.4766, allocations: 61.02 kB / 0.5561 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.4771, allocations: 19.69 kB / 0.5561 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007854/0.4779, allocations: 320.4 kB / 0.5564 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.4783, allocations: 0.7225 MB / 0.5571 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.626e-05/0.4784, allocations: 20.86 kB / 0.5572 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.4784, allocations: 27.36 kB / 0.5572 GB, free: 6.602 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4784, allocations: 0 / 0.5572 GB, free: 6.602 MB / 398.1 MB Notification: Performance of Templates: time 0.005324/0.4838, allocations: 1.646 MB / 0.5588 GB, free: 5.117 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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: 5.609367672353983]