Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.002236/0.002236, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002599/0.002599, allocations: 169.3 kB / 24.28 MB, free: 152 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 1.681/1.681, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3588/0.3588, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.165e-05, allocations: 6.312 kB / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003151/0.003183, allocations: 1.623 MB / 378.9 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.004382, allocations: 0.5375 MB / 379.5 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.004439, allocations: 8 kB / 379.5 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.004764, allocations: 91.61 kB / 379.6 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006178/0.005382, allocations: 115.5 kB / 379.7 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.005715, allocations: 111.7 kB / 379.8 MB, free: 444 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.005928, allocations: 95.73 kB / 379.9 MB, free: 348 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.012e-05/0.006018, allocations: 4 kB / 379.9 MB, free: 344 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.883e-05/0.006117, allocations: 51.88 kB / 379.9 MB, free: 292 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.006225, allocations: 43.89 kB / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.006248, allocations: 4 kB / 380 MB, free: 244 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.00635, allocations: 47.91 kB / 380 MB, free: 196 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.006411, allocations: 31.86 kB / 380.1 MB, free: 164 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.006448, allocations: 15.92 kB / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.00666, allocations: 107.6 kB / 380.2 MB, free: 40 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.006663, allocations: 0 / 380.2 MB, free: 40 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.006664, allocations: 7.938 kB / 380.2 MB, free: 32 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.006668, allocations: 0 / 380.2 MB, free: 32 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006257/0.007294, allocations: 451.5 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.007333, allocations: 12.03 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.358e-05/0.007387, allocations: 8.891 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.007609, allocations: 160.3 kB / 380.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.00762, allocations: 384 / 380.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.007643, allocations: 8.375 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.007781, allocations: 50.19 kB / 380.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.007793, allocations: 192 / 380.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.007805, allocations: 8.125 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.007809, allocations: 0 / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.866e-05/0.007897, allocations: 19.98 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.008388, allocations: 311.7 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.008518, allocations: 54.98 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/0.008574, allocations: 23.7 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.008597, allocations: 0 / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.008633, allocations: 37.39 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.008634, allocations: 0 / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008888/0.009523, allocations: 205.2 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.009573, allocations: 51.41 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.009863, allocations: 269.8 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.009887, allocations: 25.7 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.01002, allocations: 162.8 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.01006, allocations: 35.69 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.01012, allocations: 31.36 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000298/0.01042, allocations: 0.5079 MB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.01048, allocations: 16 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.416e-05/0.01055, allocations: 19.98 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.01068, allocations: 55.73 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.01068, allocations: 0 / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002016/0.01089, allocations: 89.62 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.0109, allocations: 4 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01091, allocations: 0 / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.01092, allocations: 0 / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.01104, allocations: 27.92 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.01104, allocations: 4 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.421e-05/0.01108, allocations: 0 / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.01109, allocations: 4 kB / 382.8 MB, free: 13.21 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 0.0001317/0.01122, allocations: 168.5 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.01126, allocations: 16.33 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.01153, allocations: 99.12 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01153, allocations: 0 / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.01154, allocations: 11.92 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01154, allocations: 0 / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006031/0.01214, allocations: 421.3 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.01214, allocations: 0 / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.739e-05/0.01221, allocations: 16 kB / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01221, allocations: 0 / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.01223, allocations: 4 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.01223, allocations: 3.984 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01223, allocations: 80 / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.01254, allocations: 259.4 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.01256, allocations: 19.94 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.01258, allocations: 4 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.657e-05/0.01265, allocations: 4 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.01269, allocations: 11.86 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.0127, allocations: 4 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001719/0.01287, allocations: 187.1 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01287, allocations: 0 / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000247/0.01311, allocations: 23.94 kB / 384 MB, free: 11.9 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.003267/0.01638, allocations: 482 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.0166, allocations: 63.58 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.0166, allocations: 0 / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.231e-05/0.01669, allocations: 39.67 kB / 384.6 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.01703, allocations: 24.05 kB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.01757, allocations: 257.7 kB / 384.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.01769, allocations: 96.8 kB / 385 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.269e-05/0.01776, allocations: 25.02 kB / 385 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.0178, allocations: 20.5 kB / 385 MB, free: 11.06 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.0178, allocations: 3.938 kB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Templates: time 0.004874/0.02268, allocations: 1.408 MB / 386.4 MB, free: 9.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9831067729974166]