Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001119/0.001119, 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.001668/0.001668, allocations: 170.3 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.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2639/0.2639, allocations: 34.26 MB / 296.1 MB, free: 0.6719 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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 325.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.118e-05, allocations: 7.016 kB / 325.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002388/0.002409, allocations: 1.974 MB / 327.4 MB, free: 5.578 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.003798, allocations: 1.114 MB / 328.5 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.389e-05/0.003892, allocations: 0 / 328.5 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.004251, allocations: 163.3 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.004616, allocations: 183.2 kB / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.004885, allocations: 119.5 kB / 328.9 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.005138, allocations: 255.2 kB / 329.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.844e-05/0.005226, allocations: 26.55 kB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.005373, allocations: 135.6 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.005504, allocations: 111.8 kB / 329.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.005524, allocations: 11.98 kB / 329.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.005629, allocations: 63.91 kB / 329.5 MB, free: 3.414 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.005692, allocations: 63.7 kB / 329.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.005736, allocations: 40.36 kB / 329.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.005937, allocations: 179.3 kB / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.005938, allocations: 0 / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005939, allocations: 4 kB / 329.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.005942, allocations: 0 / 329.8 MB, free: 3.133 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.000394/0.006336, allocations: 456.5 kB / 330.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.006365, allocations: 8.031 kB / 330.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.006399, allocations: 16.92 kB / 330.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.006575, allocations: 213.8 kB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.006591, allocations: 4.375 kB / 330.5 MB, free: 2.402 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.00661, allocations: 8.375 kB / 330.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.006742, allocations: 107.4 kB / 330.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.006754, allocations: 11.94 kB / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.006762, allocations: 4 kB / 330.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.006768, allocations: 0 / 330.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.017e-05/0.006809, allocations: 33.56 kB / 330.7 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.007113, allocations: 288.9 kB / 330.9 MB, free: 1.918 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.007314, allocations: 186.6 kB / 331.1 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.007349, allocations: 37.89 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.007361, allocations: 0 / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.007485, allocations: 115.8 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.007486, allocations: 0 / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.00059/0.008076, allocations: 313.2 kB / 331.6 MB, free: 1.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.008116, allocations: 85.05 kB / 331.7 MB, free: 1.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.008287, allocations: 292.6 kB / 331.9 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.008305, allocations: 33.7 kB / 332 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.008349, allocations: 113.2 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.008397, allocations: 71.42 kB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.00844, allocations: 41.69 kB / 332.2 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.008608, allocations: 346.7 kB / 332.5 MB, free: 204 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.035e-05/0.008638, allocations: 26.81 kB / 332.6 MB, free: 176 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-05/0.008685, allocations: 58.02 kB / 332.6 MB, free: 108 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.91e-05/0.008784, allocations: 106.7 kB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.008785, allocations: 0 / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001378/0.008923, allocations: 140.6 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.008934, allocations: 4 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.008939, allocations: 7.938 kB / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.008952, allocations: 0 / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.43e-05/0.009036, allocations: 43.97 kB / 332.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.00904, allocations: 0 / 332.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.258e-05/0.009082, allocations: 11.94 kB / 332.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.009093, allocations: 8 kB / 332.9 MB, free: 15.77 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.46e-05/0.009178, allocations: 136.6 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.0092, allocations: 19.98 kB / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.009372, allocations: 157.3 kB / 333.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.009377, allocations: 7.984 kB / 333.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.009379, allocations: 0 / 333.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.009384, allocations: 0 / 333.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.009792, allocations: 0.5593 MB / 333.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.009796, allocations: 4 kB / 333.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.95e-05/0.009855, allocations: 31.98 kB / 333.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.009862, allocations: 7.938 kB / 333.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.009871, allocations: 8.125 kB / 333.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.009874, allocations: 240 / 333.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.009877, allocations: 7.938 kB / 333.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.01008, allocations: 404.8 kB / 334.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.01011, allocations: 27.75 kB / 334.3 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.01013, allocations: 8 kB / 334.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.0102, allocations: 11.98 kB / 334.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.01024, allocations: 23.91 kB / 334.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.01026, allocations: 4 kB / 334.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.579e-05/0.01035, allocations: 119.5 kB / 334.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01035, allocations: 8 kB / 334.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.01055, allocations: 51.92 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.001429/0.01198, allocations: 0.6701 MB / 335.2 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.01213, allocations: 100.6 kB / 335.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.01213, allocations: 0 / 335.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.036e-05/0.01219, allocations: 68.94 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.0002804/0.01247, allocations: 64.48 kB / 335.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004954/0.01297, allocations: 452.9 kB / 335.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.989e-05/0.01303, allocations: 96.3 kB / 335.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.187e-05/0.0131, allocations: 42.03 kB / 336 MB, free: 12.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.0132, allocations: 95.38 kB / 336.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.0132, allocations: 0 / 336.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of Templates: time 0.004879/0.01808, allocations: 3.624 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.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.1627437421120703]