Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001356/0.001356, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0016/0.0016, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.9614/0.9614, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2381/0.2381, allocations: 32.81 MB / 294.6 MB, free: 1.172 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.CombiTable2Ds.Test1,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 376.5 MB, free: 4.363 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.262e-05, allocations: 2.312 kB / 376.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.001796/0.001808, allocations: 1.705 MB / 378.2 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005913/0.0024, allocations: 0.5413 MB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.002442, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.002827, allocations: 455.1 kB / 379.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.00313, allocations: 291.1 kB / 379.5 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.003315, allocations: 135.6 kB / 379.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.003667, allocations: 179.6 kB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.332e-05/0.00374, allocations: 15.98 kB / 379.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.749e-05/0.003837, allocations: 115.8 kB / 379.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.004008, allocations: 243.6 kB / 380.2 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.004022, allocations: 4 kB / 380.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.202e-05/0.004094, allocations: 51.91 kB / 380.2 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.416e-05/0.004169, allocations: 87.7 kB / 380.3 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.004195, allocations: 35.75 kB / 380.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.00437, allocations: 219 kB / 380.5 MB, free: 304 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.004371, allocations: 0 / 380.5 MB, free: 304 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004371, allocations: 0 / 380.5 MB, free: 304 kB / 346.7 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.004374, allocations: 0 / 380.5 MB, free: 304 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.0004489/0.004823, allocations: 0.7009 MB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.004853, allocations: 8.031 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.004894, allocations: 48.66 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.005041, allocations: 252.8 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.00505, allocations: 8.375 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.005064, allocations: 384 / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.403e-05/0.005148, allocations: 66.94 kB / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.005155, allocations: 192 / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.005162, allocations: 4.125 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.005168, allocations: 4 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.236e-05/0.00519, allocations: 15.92 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.005459, allocations: 348.2 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.658e-05/0.005506, allocations: 43.08 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.005522, allocations: 19.7 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.005541, allocations: 4 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.005556, allocations: 33.39 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.005557, allocations: 0 / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003857/0.005943, allocations: 185.2 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.005962, allocations: 55.41 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.00629, allocations: 0.6001 MB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.006299, allocations: 29.7 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.006433, allocations: 306.6 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.006455, allocations: 31.73 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.006483, allocations: 27.36 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.006615, allocations: 0.5585 MB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.006629, allocations: 7.984 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.336e-05/0.006642, allocations: 11.94 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.351e-05/0.006676, allocations: 31.89 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.006677, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.178e-05/0.006758, allocations: 109.4 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.006767, allocations: 4 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.00677, allocations: 4 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.006779, allocations: 0 / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.006833, allocations: 12 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.006837, allocations: 7.938 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.006861, allocations: 3.984 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.006866, allocations: 4 kB / 384.1 MB, free: 12.58 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 6.836e-05/0.006934, allocations: 160.5 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.006968, allocations: 43.72 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.007087, allocations: 113.5 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.007088, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.007089, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.007092, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.007387, allocations: 429.5 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.007388, allocations: 0 / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.007426, allocations: 23.92 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.007427, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.007432, allocations: 4 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.007434, allocations: 4 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007435, allocations: 4.031 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.007551, allocations: 267.2 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/0.007574, allocations: 35.72 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.007587, allocations: 0 / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.999e-05/0.007627, allocations: 4 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.007648, allocations: 7.922 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.007653, allocations: 7.938 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.007842, allocations: 398.6 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007842, allocations: 0 / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001638/0.008006, allocations: 31.94 kB / 385.6 MB, free: 11 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.0008216/0.008828, allocations: 438.6 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.916e-05/0.008897, allocations: 39.61 kB / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.008898, allocations: 0 / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.223e-05/0.00892, allocations: 23.67 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.00913, allocations: 29.91 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.009674, allocations: 0.6001 MB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.155e-05/0.009746, allocations: 127.2 kB / 386.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.337e-05/0.009779, allocations: 17.03 kB / 386.8 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003695/0.01015, allocations: 82.19 kB / 386.9 MB, free: 9.758 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01015, allocations: 0 / 386.9 MB, free: 9.758 MB / 362.7 MB Notification: Performance of Templates: time 0.003527/0.01368, allocations: 1.751 MB / 388.6 MB, free: 8.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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.9228849788196385]