Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001255/0.001255, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001821/0.001821, allocations: 161 kB / 24.56 MB, free: 16 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.9768/0.9768, allocations: 177.1 MB / 205 MB, free: 5.578 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.2689/0.2689, allocations: 32.8 MB / 294.3 MB, free: 1.281 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.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.861e-05, allocations: 2.312 kB / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002238/0.002257, allocations: 1.778 MB / 377.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.003459, allocations: 1.001 MB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.782e-05/0.003547, allocations: 7.938 kB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.00389, allocations: 47.75 kB / 378.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.004201, allocations: 111.4 kB / 379 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.004375, allocations: 83.66 kB / 379.1 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.004543, allocations: 103.6 kB / 379.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.00465, allocations: 11.98 kB / 379.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.259e-05/0.004733, allocations: 55.83 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.878e-05/0.004802, allocations: 23.91 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.004818, allocations: 4 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.0049, allocations: 55.84 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.004954, allocations: 27.86 kB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.004994, allocations: 15.94 kB / 379.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.00517, allocations: 115.6 kB / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.005172, allocations: 0 / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.005173, allocations: 4 kB / 379.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.005177, allocations: 0 / 379.5 MB, free: 1.125 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.0005082/0.005685, allocations: 475.6 kB / 380 MB, free: 0.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.005725, allocations: 8.031 kB / 380 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.005778, allocations: 20.84 kB / 380 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.00597, allocations: 169.2 kB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.005987, allocations: 384 / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.006013, allocations: 8.359 kB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.006128, allocations: 62.94 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.006139, allocations: 7.875 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.006149, allocations: 8 kB / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.006157, allocations: 0 / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.3e-05/0.00619, allocations: 8 kB / 380.3 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.006526, allocations: 299.8 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.006661, allocations: 55.17 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.006695, allocations: 19.61 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.006713, allocations: 4 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.00682, allocations: 65.05 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.006821, allocations: 3.938 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004287/0.00725, allocations: 161.3 kB / 380.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.007287, allocations: 63.34 kB / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.007464, allocations: 274.7 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.007477, allocations: 25.7 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.007546, allocations: 162.9 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.007575, allocations: 31.77 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.007609, allocations: 31.38 kB / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.007747, allocations: 0.5001 MB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/0.007773, allocations: 12.38 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.603e-05/0.007809, allocations: 31.36 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.875e-05/0.007868, allocations: 63.23 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.00787, allocations: 4 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003733/0.008244, allocations: 93.58 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.008256, allocations: 4 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.00826, allocations: 0 / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.008276, allocations: 4 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.047e-05/0.008347, allocations: 19.92 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.008352, allocations: 0 / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.00838, allocations: 4 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.008388, allocations: 8.031 kB / 382.2 MB, free: 14.23 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 7.038e-05/0.008458, allocations: 163.9 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.00848, allocations: 23.91 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.008631, allocations: 111.2 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.008633, allocations: 4 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.008636, allocations: 0 / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.008639, allocations: 0 / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.008933, allocations: 412.9 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.008935, allocations: 0 / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.061e-05/0.008966, allocations: 16.02 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.008968, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.008977, allocations: 4 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.008978, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.00898, allocations: 3.938 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.009127, allocations: 259.5 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.009142, allocations: 11.91 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.009162, allocations: 7.938 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.079e-05/0.009203, allocations: 7.984 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.009237, allocations: 4 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.009254, allocations: 7.984 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001016/0.009355, allocations: 204.5 kB / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009355, allocations: 0 / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000266/0.009621, allocations: 23.94 kB / 383.4 MB, free: 12.91 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.0009306/0.01055, allocations: 436.6 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.01067, allocations: 55.59 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01067, allocations: 0 / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.885e-05/0.01071, allocations: 31.61 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.01094, allocations: 35.89 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.0113, allocations: 262.5 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.555e-05/0.01135, allocations: 75.33 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.554e-05/0.01138, allocations: 17.27 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.01142, allocations: 16.5 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01142, allocations: 0 / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of Templates: time 0.003627/0.01504, allocations: 1.898 MB / 386.2 MB, free: 10.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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.36900173407048]