Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001248/0.001248, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001532/0.001532, allocations: 165 kB / 24.56 MB, free: 12 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.937/0.937, allocations: 177.1 MB / 205 MB, free: 5.609 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.2637/0.2637, allocations: 32.81 MB / 294.3 MB, free: 1.25 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.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.0.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.6e-05, allocations: 13.48 kB / 376.1 MB, free: 4.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.005398/0.005414, allocations: 1.712 MB / 377.8 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008628/0.006277, allocations: 0.5725 MB / 378.3 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.783e-05/0.006334, allocations: 7.938 kB / 378.3 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005609/0.006895, allocations: 447.1 kB / 378.8 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.007259, allocations: 303.1 kB / 379.1 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.007558, allocations: 183.4 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.007751, allocations: 171.7 kB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.096e-05/0.007842, allocations: 16.22 kB / 379.4 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.007944, allocations: 119.8 kB / 379.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.00812, allocations: 251.5 kB / 379.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.008139, allocations: 4 kB / 379.8 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.551e-05/0.008224, allocations: 51.91 kB / 379.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.896e-05/0.008303, allocations: 87.66 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.008347, allocations: 39.73 kB / 380 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.008575, allocations: 219 kB / 380.2 MB, free: 452 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.008577, allocations: 0 / 380.2 MB, free: 452 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.008578, allocations: 0 / 380.2 MB, free: 452 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.008582, allocations: 0 / 380.2 MB, free: 452 kB / 346.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.0005862/0.009169, allocations: 0.7048 MB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.009203, allocations: 12.03 kB / 380.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.009265, allocations: 44.66 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.009465, allocations: 248.8 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.009476, allocations: 8.375 kB / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.009496, allocations: 384 / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.009612, allocations: 66.88 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.009625, allocations: 4.188 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.009635, allocations: 8.125 kB / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.009642, allocations: 0 / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.324e-05/0.009675, allocations: 11.98 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.01006, allocations: 435.6 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.31e-05/0.01012, allocations: 46.98 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.01014, allocations: 11.69 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.01016, allocations: 4 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.01018, allocations: 37.39 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.01018, allocations: 96 / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005208/0.0107, allocations: 261 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.01073, allocations: 55.41 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003786/0.01111, allocations: 0.6354 MB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.01112, allocations: 29.7 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.01126, allocations: 282.8 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.01128, allocations: 23.75 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.01132, allocations: 27.38 kB / 383.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.01146, allocations: 0.5586 MB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.01149, allocations: 11.98 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.095e-05/0.01151, allocations: 11.98 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.994e-05/0.01156, allocations: 31.69 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.01156, allocations: 0 / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004048/0.01196, allocations: 117.6 kB / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.01198, allocations: 5.719 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01199, allocations: 3.984 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.012, allocations: 7.984 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.482e-05/0.01208, allocations: 12 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.01208, allocations: 0 / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.01211, allocations: 7.984 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.01211, allocations: 4 kB / 383.9 MB, free: 12.54 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.408e-05/0.01219, allocations: 164.5 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.01223, allocations: 51.61 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.01237, allocations: 117.5 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.01237, allocations: 0 / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.01238, allocations: 0 / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.01238, allocations: 4 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.01275, allocations: 0.5047 MB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01275, allocations: 4 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.01278, allocations: 12 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01279, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.01279, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.0128, allocations: 12.02 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.0128, allocations: 7.875 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.01293, allocations: 267.3 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.01296, allocations: 31.72 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.01297, allocations: 8 kB / 385.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.01301, allocations: 3.984 kB / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.01304, allocations: 11.88 kB / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.01305, allocations: 4 kB / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002465/0.01329, allocations: 430.8 kB / 385.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01329, allocations: 0 / 385.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001802/0.01347, allocations: 35.98 kB / 385.5 MB, free: 10.8 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.0008516/0.01433, allocations: 433.7 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.01444, allocations: 39.67 kB / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01444, allocations: 0 / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.277e-05/0.01447, allocations: 31.61 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.0147, allocations: 29.95 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/0.01531, allocations: 0.6093 MB / 386.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.629e-05/0.01538, allocations: 127.2 kB / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.58e-05/0.01543, allocations: 17.03 kB / 386.8 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.01546, allocations: 20.48 kB / 386.8 MB, free: 9.605 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01546, allocations: 0 / 386.8 MB, free: 9.605 MB / 362.7 MB Notification: Performance of Templates: time 0.003944/0.01941, allocations: 1.748 MB / 388.6 MB, free: 7.871 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.9389828420244157]