Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.0009566/0.0009566, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001813/0.001813, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 18.57 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.2445/0.2445, allocations: 32.81 MB / 294.6 MB, free: 1.164 MB / 266.7 MB " [Timeout remaining time 180] 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.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(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.487e-05, allocations: 7.188 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.006057/0.006082, allocations: 1.678 MB / 325 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004834/0.01092, allocations: 1.289 MB / 326.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/0.01099, allocations: 0 / 326.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.01123, allocations: 23.8 kB / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.01159, allocations: 83.55 kB / 326.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.0119, allocations: 119.5 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.01205, allocations: 71.77 kB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/0.01214, allocations: 11.98 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.046e-05/0.01221, allocations: 27.92 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.01231, allocations: 31.89 kB / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.01233, allocations: 4 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.01254, allocations: 95.81 kB / 326.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.01258, allocations: 11.98 kB / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.01261, allocations: 16.56 kB / 326.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.01284, allocations: 131.5 kB / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.01284, allocations: 4 kB / 326.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01285, allocations: 3.938 kB / 326.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.01285, allocations: 0 / 326.9 MB, free: 6.012 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003736/0.01322, allocations: 301.5 kB / 327.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.01326, allocations: 12.03 kB / 327.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.0133, allocations: 4.938 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003207/0.0165, allocations: 125.7 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.01651, allocations: 4.375 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.01654, allocations: 4.375 kB / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.01668, allocations: 98.3 kB / 327.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.01669, allocations: 4.188 kB / 327.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.0167, allocations: 4.125 kB / 327.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.0167, allocations: 0 / 327.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.613e-05/0.01673, allocations: 8 kB / 327.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.01699, allocations: 167.1 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.01713, allocations: 37.33 kB / 327.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.01715, allocations: 8.859 kB / 327.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.01717, allocations: 7.938 kB / 327.7 MB, free: 5.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.01719, allocations: 34.56 kB / 327.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 2.114e-06/0.0172, allocations: 0 / 327.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003082/0.0175, allocations: 93.56 kB / 327.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.01754, allocations: 77.11 kB / 327.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.01766, allocations: 140.3 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.01767, allocations: 25.7 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.01771, allocations: 100.1 kB / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.01774, allocations: 15.84 kB / 328.1 MB, free: 4.609 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.01777, allocations: 21.69 kB / 328.2 MB, free: 4.582 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.785e-05/0.01786, allocations: 318.8 kB / 328.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.01787, allocations: 4 kB / 328.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-05/0.01791, allocations: 47.41 kB / 328.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.688e-05/0.01795, allocations: 31.83 kB / 328.5 MB, free: 4.164 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01795, allocations: 0 / 328.5 MB, free: 4.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.32e-05/0.01802, allocations: 49.62 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.01803, allocations: 6.344 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01804, allocations: 3.984 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.01805, allocations: 0 / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.758e-05/0.01811, allocations: 15.98 kB / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.01811, allocations: 0 / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.765e-05/0.01814, allocations: 4 kB / 328.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.01815, allocations: 4 kB / 328.6 MB, free: 4.078 MB / 298.7 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 (5): * Single equations (assignments): 5 * 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 6.708e-05/0.01821, allocations: 116.6 kB / 328.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.01824, allocations: 11.92 kB / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.01836, allocations: 54.16 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.01836, allocations: 4 kB / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.01836, allocations: 0 / 328.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01837, allocations: 4.266 kB / 328.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.01861, allocations: 210.8 kB / 329 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01861, allocations: 3.938 kB / 329 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.01865, allocations: 8 kB / 329 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01866, allocations: 0 / 329 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.01867, allocations: 15.98 kB / 329 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01867, allocations: 0 / 329 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01867, allocations: 3.938 kB / 329.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.01878, allocations: 147.7 kB / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.0188, allocations: 11.89 kB / 329.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.01881, allocations: 0 / 329.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.461e-05/0.01887, allocations: 7.984 kB / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.01889, allocations: 4 kB / 329.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.01889, allocations: 0 / 329.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.462e-05/0.01894, allocations: 31.66 kB / 329.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01894, allocations: 0 / 329.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003279/0.02222, allocations: 43.86 kB / 329.3 MB, free: 3.352 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001658/0.02388, allocations: 0.626 MB / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.02398, allocations: 20.84 kB / 329.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.02399, allocations: 0 / 329.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.759e-05/0.02402, allocations: 24.92 kB / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.02425, allocations: 23.86 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.02462, allocations: 158.5 kB / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.453e-05/0.02466, allocations: 67.34 kB / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.383e-05/0.02472, allocations: 11.92 kB / 330.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.297e-05/0.0248, allocations: 71.36 kB / 330.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.0248, allocations: 0 / 330.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of Templates: time 0.01072/0.03552, allocations: 2.004 MB / 332.3 MB, free: 0.625 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8812889200635254]