Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.0009842/0.0009842, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001036/0.001036, allocations: 168.1 kB / 24.99 MB, free: 8.336 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 1.091/1.091, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.2623/0.2623, allocations: 34.26 MB / 296 MB, free: 0.7852 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 3.938 kB / 378.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/2.991e-05, allocations: 13.77 kB / 378.1 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002446/0.002476, allocations: 1.762 MB / 379.9 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.003698, allocations: 1.005 MB / 380.9 MB, free: 104 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.158e-05/0.00378, allocations: 0 / 380.9 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.004059, allocations: 51.7 kB / 380.9 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.004336, allocations: 107.5 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.0045, allocations: 79.59 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.004643, allocations: 107.7 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.245e-05/0.004725, allocations: 4 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.0048, allocations: 55.78 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.004863, allocations: 31.89 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.004878, allocations: 4 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.536e-05/0.004953, allocations: 43.92 kB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.005005, allocations: 31.86 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.005049, allocations: 23.86 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.005225, allocations: 119.6 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.005229, allocations: 0 / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005231, allocations: 0 / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.005235, allocations: 0 / 381.5 MB, free: 15.45 MB / 362.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.000516/0.005751, allocations: 487.5 kB / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.005786, allocations: 12.02 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.005834, allocations: 16.84 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.006012, allocations: 164.3 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.00603, allocations: 4.375 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.006046, allocations: 384 / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.006168, allocations: 70.88 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.006178, allocations: 3.938 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.006186, allocations: 0 / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.006193, allocations: 0 / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.006227, allocations: 15.98 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.006519, allocations: 295.8 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.00662, allocations: 63.09 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.041e-05/0.00665, allocations: 19.62 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.006662, allocations: 3.984 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.006764, allocations: 69.05 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.006765, allocations: 0 / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003931/0.007158, allocations: 177.2 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.007192, allocations: 55.41 kB / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.00736, allocations: 274.6 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.007374, allocations: 33.7 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.007434, allocations: 162.9 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.00746, allocations: 27.78 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.007492, allocations: 31.38 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.007596, allocations: 0.5001 MB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.007621, allocations: 12 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.756e-05/0.007658, allocations: 39.3 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.791e-05/0.007716, allocations: 51.25 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.007717, allocations: 4 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001079/0.007825, allocations: 101.6 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.007836, allocations: 5.875 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.007841, allocations: 0 / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.007853, allocations: 4 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.337e-05/0.007926, allocations: 16.03 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.007932, allocations: 0 / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.00796, allocations: 7.984 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.007965, allocations: 0 / 384.2 MB, free: 12.55 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.503e-05/0.00804, allocations: 168.5 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.008062, allocations: 27.86 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.008205, allocations: 107.1 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.008207, allocations: 0 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.008209, allocations: 0 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.008213, allocations: 0 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.008478, allocations: 413 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.008479, allocations: 0 / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.563e-05/0.008505, allocations: 15.98 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.008507, allocations: 384 / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.008515, allocations: 0 / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.008518, allocations: 4 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.008519, allocations: 4 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.008659, allocations: 263.4 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.008674, allocations: 15.91 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.008691, allocations: 4 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.00873, allocations: 8.016 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.008762, allocations: 4 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.008777, allocations: 11.98 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.985e-05/0.008877, allocations: 204.5 kB / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008877, allocations: 0 / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001714/0.009049, allocations: 27.94 kB / 385.5 MB, free: 11.21 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.0009247/0.009973, allocations: 428.6 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.01009, allocations: 59.62 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01009, allocations: 4.062 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.103e-05/0.01013, allocations: 35.61 kB / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.01036, allocations: 41.5 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.01075, allocations: 262.5 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.614e-05/0.01081, allocations: 75.27 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.914e-05/0.01085, allocations: 13.05 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.01088, allocations: 20.48 kB / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01088, allocations: 0 / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of Templates: time 0.003738/0.01462, allocations: 1.9 MB / 388.3 MB, free: 8.516 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.301118698902428]