Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.0009501/0.0009501, 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.0009398/0.0009398, allocations: 168.4 kB / 25.61 MB, free: 8.902 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.9173/0.9173, 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.1387/0.1387, allocations: 34.26 MB / 296.8 MB, free: 13.96 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/1.991e-05, allocations: 5.953 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.001785/0.001805, allocations: 1.69 MB / 381 MB, free: 21.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005848/0.002389, allocations: 0.5414 MB / 381.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.002438, allocations: 0 / 381.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.002783, allocations: 455 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.003092, allocations: 295.2 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.003314, allocations: 131.6 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.003466, allocations: 171.6 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.1e-05/0.003547, allocations: 19.92 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.986e-05/0.003637, allocations: 123.7 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.003776, allocations: 243.6 kB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.003789, allocations: 4 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.847e-05/0.003867, allocations: 51.91 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/0.003933, allocations: 87.7 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.00396, allocations: 39.73 kB / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.004129, allocations: 215.1 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004131, allocations: 0 / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.004132, allocations: 4 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.004137, allocations: 0 / 383.4 MB, free: 19.36 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.0003712/0.004508, allocations: 0.7047 MB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.004535, allocations: 8.031 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.004575, allocations: 44.66 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.004706, allocations: 248.8 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.004713, allocations: 384 / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.00473, allocations: 8.375 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.749e-05/0.004818, allocations: 66.88 kB / 384.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.004827, allocations: 192 / 384.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.004833, allocations: 8.109 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.004838, allocations: 4 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.199e-05/0.00486, allocations: 19.92 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.005098, allocations: 344.2 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.552e-05/0.005143, allocations: 39 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.005157, allocations: 19.7 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.005171, allocations: 0 / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.005184, allocations: 45.42 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.005185, allocations: 0 / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003963/0.005581, allocations: 189.1 kB / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.0056, allocations: 59.41 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.005847, allocations: 0.5962 MB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.005854, allocations: 29.7 kB / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/0.005944, allocations: 298.7 kB / 386.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.005965, allocations: 27.73 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.005993, allocations: 27.36 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.006065, allocations: 0.5585 MB / 386.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.006078, allocations: 11.98 kB / 386.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.295e-05/0.006091, allocations: 4 kB / 386.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.574e-05/0.006127, allocations: 39.61 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.006128, allocations: 3.984 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.614e-05/0.006204, allocations: 101.4 kB / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.006214, allocations: 8 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.006218, allocations: 0 / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.006226, allocations: 0 / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.617e-05/0.006282, allocations: 12 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.006285, allocations: 0 / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.00631, allocations: 7.984 kB / 386.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.006315, allocations: 0 / 386.9 MB, free: 15.66 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.07e-05/0.006366, allocations: 172.5 kB / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.006396, allocations: 43.72 kB / 387.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.006504, allocations: 109.5 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.006506, allocations: 0 / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.006507, allocations: 0 / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.00651, allocations: 0 / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.006755, allocations: 433.8 kB / 387.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.006756, allocations: 0 / 387.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.623e-05/0.006793, allocations: 23.98 kB / 387.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.006794, allocations: 4.031 kB / 387.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.0068, allocations: 3.938 kB / 387.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006801, allocations: 4.016 kB / 387.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.006802, allocations: 7.984 kB / 387.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.942e-05/0.006892, allocations: 255.3 kB / 387.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/0.006911, allocations: 35.7 kB / 387.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.006927, allocations: 12.42 kB / 387.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.032e-05/0.006967, allocations: 0 / 387.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.00699, allocations: 7.984 kB / 387.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.006995, allocations: 7.938 kB / 387.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001477/0.007143, allocations: 398.7 kB / 388.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007143, allocations: 0 / 388.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.00732, allocations: 28 kB / 388.4 MB, free: 14.07 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.0009419/0.008262, allocations: 435.8 kB / 388.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.703e-05/0.008359, allocations: 31.67 kB / 388.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.00836, allocations: 0 / 388.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.126e-05/0.008392, allocations: 35.59 kB / 388.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.008713, allocations: 32.73 kB / 388.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000594/0.009307, allocations: 0.6015 MB / 389.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.361e-05/0.00938, allocations: 127.2 kB / 389.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.388e-05/0.009424, allocations: 13.03 kB / 389.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.009475, allocations: 82.19 kB / 389.7 MB, free: 12.82 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009475, allocations: 0 / 389.7 MB, free: 12.82 MB / 314.7 MB Notification: Performance of Templates: time 0.00442/0.0139, allocations: 1.76 MB / 391.5 MB, free: 11.07 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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: 2.916594895068556]