Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.002131/0.002131, 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.003013/0.003013, allocations: 165.6 kB / 24.27 MB, free: 156 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.635/1.635, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.3241/0.3241, allocations: 32.8 MB / 293.9 MB, free: 1.207 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 375.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.644e-05/3.835e-05, allocations: 5.828 kB / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003839/0.003877, allocations: 1.747 MB / 377.1 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.005946, allocations: 0.9898 MB / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.667e-05/0.006022, allocations: 0 / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.006354, allocations: 43.7 kB / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000378/0.006732, allocations: 99.53 kB / 378.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.006971, allocations: 83.59 kB / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.007183, allocations: 99.64 kB / 378.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.007291, allocations: 15.97 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.007413, allocations: 51.84 kB / 378.5 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.098e-05/0.007504, allocations: 27.91 kB / 378.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.007532, allocations: 15.92 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.00765, allocations: 43.92 kB / 378.6 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.007712, allocations: 15.94 kB / 378.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.538e-05/0.007777, allocations: 23.86 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.008039, allocations: 119.6 kB / 378.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.008046, allocations: 3.984 kB / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008047, allocations: 0 / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.008053, allocations: 0 / 378.7 MB, free: 1.52 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.0006971/0.00875, allocations: 447.5 kB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.008792, allocations: 16.02 kB / 379.2 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.00886, allocations: 16.78 kB / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.009117, allocations: 164.9 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.009129, allocations: 384 / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.009151, allocations: 4.375 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.009293, allocations: 54.17 kB / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.009306, allocations: 3.938 kB / 379.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.009318, allocations: 4 kB / 379.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.009322, allocations: 0 / 379.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.691e-05/0.009399, allocations: 15.98 kB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.009867, allocations: 303.8 kB / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.01005, allocations: 59.17 kB / 379.8 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.042e-05/0.01011, allocations: 31.61 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.01013, allocations: 0 / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.0103, allocations: 76.98 kB / 379.9 MB, free: 220 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.01031, allocations: 0 / 379.9 MB, free: 220 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000618/0.01092, allocations: 181.5 kB / 380.1 MB, free: 32 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/0.011, allocations: 55.41 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.01127, allocations: 249.9 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.0113, allocations: 29.7 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.01142, allocations: 158.8 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.01146, allocations: 31.81 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/0.01152, allocations: 31.36 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003021/0.01182, allocations: 0.5001 MB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.017e-05/0.01188, allocations: 20.19 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.108e-05/0.01196, allocations: 43.36 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.0121, allocations: 75.23 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.0121, allocations: 0 / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002082/0.01231, allocations: 101.6 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.01232, allocations: 4 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.01233, allocations: 0 / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.01235, allocations: 12.02 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.234e-05/0.01244, allocations: 15.94 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01245, allocations: 0 / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.0125, allocations: 4 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.01251, allocations: 0 / 381.4 MB, free: 14.63 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.0001529/0.01266, allocations: 180.4 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.01269, allocations: 11.91 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.01296, allocations: 123.2 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.01297, allocations: 3.984 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.01297, allocations: 0 / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01297, allocations: 7.938 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.01354, allocations: 424.9 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01354, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.992e-05/0.01358, allocations: 12 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.01358, allocations: 0 / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.01359, allocations: 0 / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.0136, allocations: 7.938 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0136, allocations: 0 / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.01393, allocations: 267.4 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.01395, allocations: 15.89 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.01398, allocations: 8.031 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.01405, allocations: 4 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.01409, allocations: 7.984 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.01411, allocations: 4 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000174/0.01428, allocations: 192.1 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01428, allocations: 0 / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002615/0.01455, allocations: 24 kB / 382.6 MB, free: 13.28 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.003305/0.01785, allocations: 0.4936 MB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.01806, allocations: 71.53 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01806, allocations: 0 / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.217e-05/0.01816, allocations: 39.61 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.01855, allocations: 39.89 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005082/0.01906, allocations: 234 kB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.01917, allocations: 92.81 kB / 383.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.367e-05/0.01923, allocations: 17.27 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.01927, allocations: 16.5 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01927, allocations: 0 / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of Templates: time 0.005709/0.02498, allocations: 1.871 MB / 385.5 MB, free: 10.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.057891336036846]