Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.00134/0.00134, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.00146/0.00146, allocations: 172.4 kB / 25.61 MB, free: 8.922 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 0.92/0.92, allocations: 177.1 MB / 206 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1882/0.1882, allocations: 34.26 MB / 296.9 MB, free: 13.95 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.546e-05, allocations: 7.359 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003142/0.003167, allocations: 1.698 MB / 381 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006804/0.003847, allocations: 0.5374 MB / 381.6 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.663e-05/0.003904, allocations: 0 / 381.6 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.004128, allocations: 71.7 kB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.004358, allocations: 111.5 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.004573, allocations: 135.5 kB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.004694, allocations: 91.69 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.118e-05/0.004775, allocations: 16.22 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.988e-05/0.004835, allocations: 51.88 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.377e-05/0.004909, allocations: 47.88 kB / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.004921, allocations: 4 kB / 382.1 MB, free: 20.63 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.89e-05/0.00499, allocations: 55.91 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.005044, allocations: 27.91 kB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.805e-05/0.005062, allocations: 19.88 kB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.005185, allocations: 99.59 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.005188, allocations: 0 / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.00519, allocations: 0 / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.005194, allocations: 0 / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003132/0.005507, allocations: 447.9 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.005535, allocations: 8.031 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.005568, allocations: 20.84 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.769e-05/0.005666, allocations: 146.7 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.005675, allocations: 8.375 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.00569, allocations: 8.375 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.423e-05/0.005774, allocations: 66.88 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.005784, allocations: 192 / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.005792, allocations: 4.125 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.005798, allocations: 0 / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.408e-05/0.005822, allocations: 15.92 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.006018, allocations: 280.2 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.006129, allocations: 43.05 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.006144, allocations: 15.8 kB / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.006158, allocations: 15.92 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.006172, allocations: 41.48 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 6.11e-07/0.006173, allocations: 3.938 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004367/0.006609, allocations: 221.3 kB / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.715e-05/0.006626, allocations: 51.41 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.006697, allocations: 230.8 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.006703, allocations: 29.7 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.006734, allocations: 158.8 kB / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.006755, allocations: 39.67 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.006786, allocations: 35.34 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.006837, allocations: 0.5 MB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.006855, allocations: 11.94 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.988e-05/0.006874, allocations: 12.66 kB / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.006914, allocations: 47.77 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.006915, allocations: 0 / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.974e-05/0.006994, allocations: 93.52 kB / 384.8 MB, free: 17.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.007004, allocations: 10.03 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.007009, allocations: 4 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.007017, allocations: 0 / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.585e-05/0.007073, allocations: 23.98 kB / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.007075, allocations: 3.938 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.31e-05/0.007098, allocations: 8 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.007104, allocations: 7.984 kB / 384.8 MB, free: 17.67 MB / 314.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 (11): * Single equations (assignments): 11 * 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 4.085e-05/0.007145, allocations: 160.5 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.007167, allocations: 15.91 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.007279, allocations: 103.1 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.007281, allocations: 0 / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.007282, allocations: 0 / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007286, allocations: 0 / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.007517, allocations: 389.1 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.007518, allocations: 0 / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.007567, allocations: 23.92 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.00757, allocations: 4 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.007576, allocations: 4 kB / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.007578, allocations: 4 kB / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007579, allocations: 4.062 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.223e-05/0.007671, allocations: 251.1 kB / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-06/0.00768, allocations: 11.91 kB / 385.8 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.007692, allocations: 7.938 kB / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.862e-05/0.00773, allocations: 7.984 kB / 385.8 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.007759, allocations: 15.92 kB / 385.8 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.007763, allocations: 4 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.737e-05/0.007801, allocations: 159.1 kB / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007801, allocations: 0 / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001645/0.007965, allocations: 31.92 kB / 386 MB, free: 16.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008387/0.008804, allocations: 443.8 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.109e-05/0.008895, allocations: 51.55 kB / 386.5 MB, free: 16.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.008896, allocations: 0 / 386.5 MB, free: 16.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.771e-05/0.008924, allocations: 39.59 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.009126, allocations: 27.97 kB / 386.6 MB, free: 16.01 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.009434, allocations: 282.6 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.943e-05/0.009464, allocations: 71.33 kB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.772e-05/0.009501, allocations: 8.5 kB / 386.9 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.00955, allocations: 86.19 kB / 387 MB, free: 15.51 MB / 314.7 MB Notification: Performance of SimCode: time 7.82e-07/0.00955, allocations: 0 / 387 MB, free: 15.51 MB / 314.7 MB Notification: Performance of Templates: time 0.002928/0.01248, allocations: 1.769 MB / 388.8 MB, free: 13.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.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: 3.1235724831931293]