Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.0009712/0.0009712, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001239/0.001239, allocations: 170.6 kB / 24.91 MB, free: 8.723 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.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.282/0.282, allocations: 34.25 MB / 296.1 MB, free: 0.6914 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.Test77,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 325.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.441e-05, allocations: 5.891 kB / 325.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003149/0.003173, allocations: 1.975 MB / 327.4 MB, free: 5.578 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.0049, allocations: 1.107 MB / 328.5 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.912e-05/0.005, allocations: 4 kB / 328.5 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.005359, allocations: 159.3 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004048/0.005764, allocations: 195.2 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.006033, allocations: 115.5 kB / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.006339, allocations: 251.2 kB / 329.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/0.006426, allocations: 22.55 kB / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.006612, allocations: 139.6 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.006754, allocations: 111.7 kB / 329.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.006775, allocations: 8 kB / 329.5 MB, free: 3.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.006888, allocations: 63.92 kB / 329.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/0.006953, allocations: 59.7 kB / 329.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.007006, allocations: 48.34 kB / 329.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.007243, allocations: 187.2 kB / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.007245, allocations: 0 / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.007246, allocations: 0 / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.007249, allocations: 0 / 329.8 MB, free: 3.129 MB / 298.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.0004715/0.00772, allocations: 452.4 kB / 330.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.007753, allocations: 12.03 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.0078, allocations: 20.91 kB / 330.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.008031, allocations: 205.9 kB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.008049, allocations: 12.38 kB / 330.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.00807, allocations: 4.375 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.008237, allocations: 113.7 kB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.00825, allocations: 7.922 kB / 330.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.008262, allocations: 8 kB / 330.6 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.008267, allocations: 0 / 330.6 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.592e-05/0.008323, allocations: 29.62 kB / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.008637, allocations: 292.8 kB / 330.9 MB, free: 1.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.008867, allocations: 182.6 kB / 331.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.008986, allocations: 33.89 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.009002, allocations: 8 kB / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.009142, allocations: 107.9 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.009143, allocations: 0 / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007189/0.009862, allocations: 315.8 kB / 331.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.009896, allocations: 81.11 kB / 331.7 MB, free: 1.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.01013, allocations: 296.6 kB / 331.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.01015, allocations: 29.7 kB / 332 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.01021, allocations: 113.2 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.221e-05/0.01027, allocations: 79.39 kB / 332.2 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/0.01033, allocations: 33.7 kB / 332.2 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.01042, allocations: 350.7 kB / 332.5 MB, free: 200 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.565e-05/0.01047, allocations: 26.81 kB / 332.6 MB, free: 172 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.254e-05/0.01053, allocations: 54.03 kB / 332.6 MB, free: 108 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.01066, allocations: 116.1 kB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01066, allocations: 3.938 kB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001877/0.01085, allocations: 129.2 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.01087, allocations: 4 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.01087, allocations: 3.984 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.01089, allocations: 7.938 kB / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.01102, allocations: 39.92 kB / 332.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.01102, allocations: 4 kB / 332.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.408e-05/0.01109, allocations: 15.94 kB / 332.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.0111, allocations: 12.05 kB / 332.9 MB, free: 15.76 MB / 314.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 8.944e-05/0.01119, allocations: 128.6 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.01123, allocations: 27.97 kB / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.01146, allocations: 151.3 kB / 333.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.01146, allocations: 4 kB / 333.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.01147, allocations: 0 / 333.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.01147, allocations: 0 / 333.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.01199, allocations: 0.5595 MB / 333.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.012, allocations: 0 / 333.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.01208, allocations: 35.92 kB / 333.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.01209, allocations: 3.938 kB / 333.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.0121, allocations: 11.98 kB / 333.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.01211, allocations: 4.234 kB / 333.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01211, allocations: 0 / 333.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.01238, allocations: 408.8 kB / 334.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.01241, allocations: 27.75 kB / 334.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.01244, allocations: 11.98 kB / 334.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.01257, allocations: 12.03 kB / 334.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.01261, allocations: 19.97 kB / 334.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.01263, allocations: 11.98 kB / 334.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.01275, allocations: 115.5 kB / 334.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01275, allocations: 0 / 334.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003254/0.01308, allocations: 47.94 kB / 334.5 MB, free: 14.11 MB / 314.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.00191/0.01499, allocations: 0.6729 MB / 335.2 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.01519, allocations: 108.5 kB / 335.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.0152, allocations: 4 kB / 335.3 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.927e-05/0.01528, allocations: 52.72 kB / 335.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.0157, allocations: 64.53 kB / 335.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.01779, allocations: 460.8 kB / 335.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.01791, allocations: 96.69 kB / 335.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.01803, allocations: 41.91 kB / 336 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.01815, allocations: 91.36 kB / 336.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of SimCode: time 1.854e-06/0.01815, allocations: 0 / 336.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of Templates: time 0.005164/0.02332, allocations: 3.627 MB / 339.7 MB, free: 9.238 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.1664848010987043]