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.001077/0.001077, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001047/0.001047, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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.9788/0.9788, allocations: 177.1 MB / 205 MB, free: 5.285 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.2858/0.2858, allocations: 34.26 MB / 295.7 MB, free: 0.7266 MB / 266.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.442e-06/1.442e-06, allocations: 0 / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.85e-05, allocations: 2.312 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.00203/0.002048, allocations: 1.709 MB / 379.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007098/0.002758, allocations: 0.5764 MB / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.002817, allocations: 3.938 kB / 380.4 MB, free: 348 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004449/0.003262, allocations: 451.1 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.003596, allocations: 299.1 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.003867, allocations: 179.5 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.004054, allocations: 175.6 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.004149, allocations: 20.22 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.944e-05/0.004248, allocations: 123.8 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.004428, allocations: 247.5 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.004446, allocations: 4 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.268e-05/0.004529, allocations: 51.91 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.949e-05/0.004608, allocations: 87.66 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.004651, allocations: 43.72 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.004864, allocations: 203.2 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004866, allocations: 3.938 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004867, allocations: 3.938 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.004872, allocations: 4 kB / 382.2 MB, free: 14.48 MB / 362.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.000518/0.00539, allocations: 0.7048 MB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.005424, allocations: 8.031 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.005477, allocations: 44.66 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.005655, allocations: 252.8 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.005664, allocations: 4.375 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.005687, allocations: 4.375 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.0058, allocations: 66.88 kB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.005809, allocations: 192 / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.005819, allocations: 8.125 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.005826, allocations: 0 / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.418e-05/0.00586, allocations: 15.98 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.006256, allocations: 435.6 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.518e-05/0.006321, allocations: 50.97 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.006341, allocations: 11.69 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.006361, allocations: 0 / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.006381, allocations: 37.39 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.006382, allocations: 0 / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005309/0.006912, allocations: 268.7 kB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.006937, allocations: 55.41 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005452/0.007482, allocations: 0.6316 MB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.007492, allocations: 25.7 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.007631, allocations: 282.8 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.007656, allocations: 27.75 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.007689, allocations: 31.3 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.007835, allocations: 0.5586 MB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.007857, allocations: 11.97 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.976e-05/0.007877, allocations: 12 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.06e-05/0.007927, allocations: 31.69 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007928, allocations: 0 / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001181/0.008046, allocations: 117.3 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.00806, allocations: 5.875 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.008065, allocations: 3.984 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.00808, allocations: 0 / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.008153, allocations: 12 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.008158, allocations: 4 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.666e-05/0.008185, allocations: 3.984 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.008192, allocations: 4 kB / 385.9 MB, free: 10.57 MB / 362.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 7.613e-05/0.008268, allocations: 160.5 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.008307, allocations: 51.67 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.00846, allocations: 117.5 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.008462, allocations: 4 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.008465, allocations: 0 / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.008468, allocations: 0 / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003784/0.008846, allocations: 0.5086 MB / 386.7 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008848, allocations: 0 / 386.7 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.008885, allocations: 12 kB / 386.7 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.008888, allocations: 4 kB / 386.7 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.008896, allocations: 8.016 kB / 386.8 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.008898, allocations: 480 / 386.8 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.0089, allocations: 7.875 kB / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.009045, allocations: 271.3 kB / 387 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.009072, allocations: 35.72 kB / 387.1 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.009089, allocations: 4 kB / 387.1 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.324e-05/0.009132, allocations: 7.984 kB / 387.1 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.009164, allocations: 3.938 kB / 387.1 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.00917, allocations: 4 kB / 387.1 MB, free: 9.297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002456/0.009416, allocations: 430.8 kB / 387.5 MB, free: 8.879 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009416, allocations: 4 kB / 387.5 MB, free: 8.875 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.009593, allocations: 35.92 kB / 387.5 MB, free: 8.84 MB / 362.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.0009035/0.0105, allocations: 431.8 kB / 388 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000108/0.0106, allocations: 39.67 kB / 388 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01061, allocations: 0 / 388 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.346e-05/0.01064, allocations: 35.61 kB / 388 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.01087, allocations: 25.95 kB / 388.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006181/0.01149, allocations: 0.6119 MB / 388.7 MB, free: 7.824 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.879e-05/0.01157, allocations: 127.2 kB / 388.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.373e-05/0.01162, allocations: 17.02 kB / 388.8 MB, free: 7.664 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.01165, allocations: 20.48 kB / 388.8 MB, free: 7.645 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01165, allocations: 0 / 388.8 MB, free: 7.645 MB / 362.7 MB Notification: Performance of Templates: time 0.004055/0.0157, allocations: 1.653 MB / 390.5 MB, free: 6.004 MB / 362.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.2217921311967075]