Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001837/0.001837, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002028/0.002028, allocations: 169.3 kB / 24.28 MB, free: 148 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.549/1.549, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3474/0.3474, allocations: 32.79 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.016e-05, allocations: 6.25 kB / 375.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003352/0.003382, allocations: 1.735 MB / 377.1 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.005348, allocations: 0.9937 MB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.005414, allocations: 0 / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.005724, allocations: 51.69 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.006042, allocations: 91.55 kB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.006253, allocations: 83.59 kB / 378.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.006449, allocations: 111.6 kB / 378.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.006541, allocations: 8 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.006661, allocations: 55.78 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.524e-05/0.006747, allocations: 31.89 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.006769, allocations: 4 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.006871, allocations: 43.92 kB / 378.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.284e-05/0.006934, allocations: 19.92 kB / 378.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.006988, allocations: 27.86 kB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.007226, allocations: 119.6 kB / 378.7 MB, free: 1.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.007232, allocations: 4 kB / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.007233, allocations: 0 / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.007237, allocations: 0 / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007059/0.007943, allocations: 471.3 kB / 379.2 MB, free: 1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.007983, allocations: 11.97 kB / 379.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.102e-05/0.008044, allocations: 16.84 kB / 379.2 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.008335, allocations: 161.2 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.008356, allocations: 8.359 kB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.008378, allocations: 4.375 kB / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.008541, allocations: 54.23 kB / 379.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.008561, allocations: 7.922 kB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.008573, allocations: 4 kB / 379.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.008577, allocations: 0 / 379.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.235e-05/0.00866, allocations: 19.98 kB / 379.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.009152, allocations: 303.8 kB / 379.8 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.009367, allocations: 59.17 kB / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.19e-05/0.009439, allocations: 31.61 kB / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.009459, allocations: 0 / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.009639, allocations: 76.94 kB / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.00964, allocations: 0 / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006393/0.01028, allocations: 181.5 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.01035, allocations: 55.41 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.01093, allocations: 279.1 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.01096, allocations: 29.7 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.01109, allocations: 166.8 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.01113, allocations: 27.83 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.01119, allocations: 31.38 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003034/0.01149, allocations: 0.5001 MB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.151e-05/0.01155, allocations: 23.98 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.05e-05/0.01164, allocations: 39.36 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.01177, allocations: 75.05 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.01177, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002098/0.01198, allocations: 105.6 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.012, allocations: 9.969 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.012, allocations: 0 / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.01202, allocations: 7.938 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.01212, allocations: 15.98 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01212, allocations: 0 / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.01217, allocations: 4 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.01218, allocations: 0 / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001621/0.01234, allocations: 179.4 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.01237, allocations: 19.94 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.01265, allocations: 123.2 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01265, allocations: 0 / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01265, allocations: 384 / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.01266, allocations: 0 / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006635/0.01332, allocations: 428.9 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.01333, allocations: 4 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.01337, allocations: 15.98 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01338, allocations: 0 / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.01339, allocations: 0 / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.01339, allocations: 7.938 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01339, allocations: 4.031 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.01372, allocations: 271.4 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.01374, allocations: 15.94 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.01377, allocations: 0 / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.546e-05/0.01383, allocations: 0 / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.01388, allocations: 11.98 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.0139, allocations: 7.938 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001776/0.01408, allocations: 191.1 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01408, allocations: 0 / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002537/0.01433, allocations: 24 kB / 382.7 MB, free: 13.18 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003288/0.01762, allocations: 491.6 kB / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.01787, allocations: 75.53 kB / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01787, allocations: 0 / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.508e-05/0.01797, allocations: 43.67 kB / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.01838, allocations: 35.91 kB / 383.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.01899, allocations: 257.4 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.01913, allocations: 100.8 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.617e-05/0.01919, allocations: 17.27 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.01923, allocations: 20.56 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01923, allocations: 0 / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of Templates: time 0.005924/0.02516, allocations: 1.871 MB / 385.6 MB, free: 10.46 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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: 5.151334112044424]