Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001343/0.001343, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001026/0.001026, allocations: 170.5 kB / 25.61 MB, free: 8.914 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.9459/0.9459, allocations: 177.1 MB / 206 MB, free: 4.5 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.1391/0.1391, allocations: 34.25 MB / 296.9 MB, free: 14.02 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.195e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002566/0.002588, allocations: 1.697 MB / 381 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000674/0.003262, allocations: 0.5607 MB / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.003316, allocations: 4 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003563/0.003672, allocations: 451.1 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.00394, allocations: 303.1 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.004175, allocations: 179.5 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.004329, allocations: 183.6 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.719e-05/0.004416, allocations: 12.22 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.004504, allocations: 123.8 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.004649, allocations: 239.6 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.004663, allocations: 8 kB / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.098e-05/0.004734, allocations: 55.91 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.004798, allocations: 79.72 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.00483, allocations: 43.67 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.004999, allocations: 219.1 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.005001, allocations: 0 / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.9e-07/0.005001, allocations: 0 / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.005005, allocations: 0 / 383.4 MB, free: 19.26 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.0003763/0.005382, allocations: 0.7085 MB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.005415, allocations: 12.03 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.005457, allocations: 44.66 kB / 384.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.005594, allocations: 256.8 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.005604, allocations: 4.375 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.005621, allocations: 4.375 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.185e-05/0.005703, allocations: 62.94 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.005711, allocations: 192 / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.005719, allocations: 8.109 kB / 384.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.005724, allocations: 4 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.248e-05/0.005747, allocations: 7.938 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.005996, allocations: 348.1 kB / 384.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.881e-05/0.006045, allocations: 43.16 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.006061, allocations: 23.64 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.006078, allocations: 0 / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.006093, allocations: 37.39 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.006094, allocations: 0 / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004101/0.006504, allocations: 193.1 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.72e-05/0.006522, allocations: 51.41 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.006766, allocations: 0.6001 MB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.006772, allocations: 29.7 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.797e-05/0.00687, allocations: 306.7 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.00689, allocations: 27.75 kB / 386.2 MB, free: 16.35 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.006917, allocations: 31.36 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.006989, allocations: 0.5585 MB / 386.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.007003, allocations: 7.984 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.299e-05/0.007016, allocations: 8 kB / 386.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.459e-05/0.00705, allocations: 39.59 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.007051, allocations: 0 / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.712e-05/0.007128, allocations: 97.41 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.007138, allocations: 4 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.007143, allocations: 4 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.007151, allocations: 4 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.669e-05/0.007208, allocations: 15.98 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.00721, allocations: 3.938 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.556e-05/0.007236, allocations: 11.94 kB / 387 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.007241, allocations: 0 / 387 MB, free: 15.54 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 (8): * Single equations (assignments): 8 * 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 5.399e-05/0.007295, allocations: 160.5 kB / 387.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.007332, allocations: 55.67 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.00745, allocations: 105.8 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.007453, allocations: 8 kB / 387.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.007454, allocations: 0 / 387.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.007457, allocations: 0 / 387.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.007703, allocations: 433.6 kB / 387.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007705, allocations: 0 / 387.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.007738, allocations: 19.92 kB / 387.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.00774, allocations: 4 kB / 387.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.007745, allocations: 0 / 387.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.007746, allocations: 0 / 387.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.007747, allocations: 0 / 387.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.738e-05/0.007835, allocations: 275.2 kB / 388 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.007854, allocations: 35.72 kB / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.00787, allocations: 4 kB / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.061e-05/0.007911, allocations: 432 / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.007935, allocations: 11.92 kB / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.00794, allocations: 7.938 kB / 388.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001494/0.00809, allocations: 390.7 kB / 388.4 MB, free: 13.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00809, allocations: 0 / 388.4 MB, free: 13.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.008267, allocations: 31.94 kB / 388.5 MB, free: 13.95 MB / 314.7 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 (8): * Single equations (assignments): 8 * 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.0008203/0.009087, allocations: 444.6 kB / 388.9 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.858e-05/0.009166, allocations: 47.58 kB / 388.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.009167, allocations: 0 / 388.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-05/0.00919, allocations: 23.62 kB / 389 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.009413, allocations: 28.8 kB / 389 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.009873, allocations: 0.6137 MB / 389.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.269e-05/0.009925, allocations: 131 kB / 389.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.568e-05/0.009961, allocations: 17.03 kB / 389.8 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.01001, allocations: 82.19 kB / 389.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01001, allocations: 0 / 389.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of Templates: time 0.003543/0.01355, allocations: 1.796 MB / 391.6 MB, free: 10.9 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.1086960062384605]