Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001057/0.001057, 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.001007/0.001007, allocations: 164.7 kB / 24.99 MB, free: 8.797 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.046/1.046, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2597/0.2597, allocations: 32.79 MB / 294.6 MB, free: 1.289 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 0 / 376.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.644e-05, allocations: 2.312 kB / 376.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003379/0.003406, allocations: 1.937 MB / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.004844, allocations: 1.099 MB / 379.1 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.004956, allocations: 7.938 kB / 379.1 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005225/0.005479, allocations: 255.2 kB / 379.4 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004541/0.005933, allocations: 243 kB / 379.6 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.006181, allocations: 115.5 kB / 379.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000333/0.006514, allocations: 279.2 kB / 380 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.006649, allocations: 21.95 kB / 380 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.00686, allocations: 159.6 kB / 380.2 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.007102, allocations: 195.5 kB / 380.4 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.00713, allocations: 8 kB / 380.4 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.00728, allocations: 63.92 kB / 380.4 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.00739, allocations: 71.69 kB / 380.5 MB, free: 476 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.863e-05/0.007469, allocations: 51.78 kB / 380.6 MB, free: 424 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.007744, allocations: 203.2 kB / 380.8 MB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.007747, allocations: 0 / 380.8 MB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.007747, allocations: 3.938 kB / 380.8 MB, free: 216 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.007752, allocations: 0 / 380.8 MB, free: 216 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000556/0.008308, allocations: 0.6156 MB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.008343, allocations: 12.03 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.008404, allocations: 40.69 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.00862, allocations: 235 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.00864, allocations: 4.375 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.008664, allocations: 8.375 kB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.008828, allocations: 118.1 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.008842, allocations: 15.92 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.008852, allocations: 0 / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.00886, allocations: 0 / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.135e-05/0.008921, allocations: 31.97 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.009336, allocations: 0.5218 MB / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.009564, allocations: 122.1 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.009617, allocations: 35.48 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.009632, allocations: 4 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.009788, allocations: 112.4 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.00979, allocations: 3.938 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008553/0.01065, allocations: 493 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.01069, allocations: 85.05 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.01096, allocations: 430.8 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.01098, allocations: 37.69 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.01108, allocations: 219.3 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.058e-05/0.01114, allocations: 79.38 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.01119, allocations: 47.36 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.01132, allocations: 0.5313 MB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.251e-05/0.01138, allocations: 31.97 kB / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.01145, allocations: 82.66 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.01185, allocations: 130.6 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01185, allocations: 0 / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002024/0.01205, allocations: 197.3 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.01206, allocations: 8 kB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01207, allocations: 0 / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.01208, allocations: 0 / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.937e-05/0.01217, allocations: 51.91 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.01218, allocations: 3.938 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.01222, allocations: 8.062 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.01223, allocations: 12 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.019e-05/0.01232, allocations: 176.5 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.01236, allocations: 39.77 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.01263, allocations: 237.3 kB / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01263, allocations: 4 kB / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01264, allocations: 3.938 kB / 385.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.01264, allocations: 0 / 385.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005597/0.0132, allocations: 0.7606 MB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.01321, allocations: 4 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/0.01326, allocations: 35.92 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.01327, allocations: 7.938 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.01328, allocations: 4 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01328, allocations: 3.984 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01328, allocations: 4 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.01358, allocations: 0.5091 MB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.01361, allocations: 39.89 kB / 386.9 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.01363, allocations: 8 kB / 386.9 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.01371, allocations: 7.984 kB / 386.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.01376, allocations: 23.95 kB / 386.9 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.01378, allocations: 15.94 kB / 386.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.01395, allocations: 303 kB / 387.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01395, allocations: 0 / 387.2 MB, free: 9.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.01419, allocations: 55.92 kB / 387.3 MB, free: 9.312 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001142/0.01533, allocations: 476.4 kB / 387.7 MB, free: 9.027 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.01552, allocations: 138.2 kB / 387.9 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01552, allocations: 0 / 387.9 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.738e-05/0.0156, allocations: 75.89 kB / 387.9 MB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.01596, allocations: 79 kB / 388 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000612/0.01657, allocations: 0.5205 MB / 388.5 MB, free: 8.168 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.82e-05/0.01664, allocations: 104.3 kB / 388.6 MB, free: 8.047 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.209e-05/0.01671, allocations: 49.89 kB / 388.7 MB, free: 7.996 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.01676, allocations: 28.5 kB / 388.7 MB, free: 7.969 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01676, allocations: 7.875 kB / 388.7 MB, free: 7.961 MB / 362.7 MB Notification: Performance of Templates: time 0.005492/0.02225, allocations: 3.362 MB / 392.1 MB, free: 4.648 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.2388562010601163]