Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.0009544/0.0009544, allocations: 80.8 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.001144/0.001144, allocations: 169.5 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 0.9022/0.9022, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1423/0.1423, allocations: 32.79 MB / 294.6 MB, free: 15.44 MB / 282.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 323.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.348e-05, allocations: 8.781 kB / 323.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002355/0.002378, allocations: 1.754 MB / 325.1 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.003643, allocations: 1.009 MB / 326.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.542e-05/0.003729, allocations: 0 / 326.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.004026, allocations: 55.73 kB / 326.1 MB, free: 15.87 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.004332, allocations: 103.5 kB / 326.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.004519, allocations: 83.55 kB / 326.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.004664, allocations: 111.5 kB / 326.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.307e-05/0.004737, allocations: 7.984 kB / 326.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.052e-05/0.004817, allocations: 55.83 kB / 326.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.357e-05/0.004881, allocations: 27.91 kB / 326.5 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.004895, allocations: 4 kB / 326.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.268e-05/0.004968, allocations: 47.92 kB / 326.6 MB, free: 15.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.005017, allocations: 35.84 kB / 326.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.005047, allocations: 15.94 kB / 326.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.00521, allocations: 115.5 kB / 326.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.005212, allocations: 0 / 326.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005213, allocations: 0 / 326.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.005217, allocations: 4 kB / 326.7 MB, free: 15.27 MB / 314.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.0003447/0.005561, allocations: 343.9 kB / 327.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.005593, allocations: 15.98 kB / 327.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.00562, allocations: 8.922 kB / 327.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.005758, allocations: 158.5 kB / 327.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.005773, allocations: 4.375 kB / 327.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.005793, allocations: 8.312 kB / 327.3 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.005897, allocations: 65.7 kB / 327.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.005907, allocations: 3.938 kB / 327.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.005916, allocations: 7.969 kB / 327.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.005923, allocations: 4 kB / 327.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.34e-05/0.005946, allocations: 4 kB / 327.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.006157, allocations: 166 kB / 327.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.58e-05/0.006253, allocations: 93.22 kB / 327.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/0.006274, allocations: 8.859 kB / 327.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.006286, allocations: 4 kB / 327.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.782e-05/0.006374, allocations: 70.16 kB / 327.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.006375, allocations: 0 / 327.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002985/0.006674, allocations: 117.5 kB / 327.8 MB, free: 14.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.006711, allocations: 55.39 kB / 327.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.006836, allocations: 212 kB / 328.1 MB, free: 13.81 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.006852, allocations: 29.7 kB / 328.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.006886, allocations: 96.11 kB / 328.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.006911, allocations: 31.77 kB / 328.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.006939, allocations: 21.72 kB / 328.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.00702, allocations: 334.8 kB / 328.6 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.00704, allocations: 14.81 kB / 328.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.007063, allocations: 25.59 kB / 328.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/0.007104, allocations: 44.5 kB / 328.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.007105, allocations: 0 / 328.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.692e-05/0.007182, allocations: 72.38 kB / 328.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.007193, allocations: 8.031 kB / 328.7 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.007197, allocations: 4 kB / 328.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.007207, allocations: 0 / 328.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.007264, allocations: 19.98 kB / 328.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.007267, allocations: 0 / 328.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.587e-05/0.007293, allocations: 4 kB / 328.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.007298, allocations: 0 / 328.7 MB, free: 13.07 MB / 314.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 6.651e-05/0.007364, allocations: 120.6 kB / 328.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.007379, allocations: 15.92 kB / 328.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.007481, allocations: 79.08 kB / 329 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.007484, allocations: 8 kB / 329 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.007485, allocations: 3.938 kB / 329 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.007488, allocations: 3.938 kB / 329 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.007703, allocations: 287.5 kB / 329.3 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.007705, allocations: 3.938 kB / 329.3 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.007733, allocations: 15.98 kB / 329.3 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.007737, allocations: 4 kB / 329.3 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.007742, allocations: 0 / 329.3 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.007745, allocations: 0 / 329.3 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.007746, allocations: 0 / 329.3 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.007859, allocations: 227.4 kB / 329.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.007872, allocations: 11.91 kB / 329.5 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.00789, allocations: 8 kB / 329.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.245e-05/0.007933, allocations: 4 kB / 329.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.007957, allocations: 7.984 kB / 329.5 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.007969, allocations: 4 kB / 329.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.435e-05/0.008024, allocations: 80.56 kB / 329.6 MB, free: 12.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008024, allocations: 0 / 329.6 MB, free: 12.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001459/0.00817, allocations: 27.94 kB / 329.6 MB, free: 12.11 MB / 314.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.001137/0.009306, allocations: 0.5661 MB / 330.2 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.886e-05/0.009405, allocations: 44.78 kB / 330.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.009409, allocations: 0 / 330.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.308e-05/0.009442, allocations: 32.84 kB / 330.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.009613, allocations: 35.84 kB / 330.3 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.009933, allocations: 255.6 kB / 330.6 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.738e-05/0.00999, allocations: 79.31 kB / 330.6 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.465e-05/0.01003, allocations: 13.3 kB / 330.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.137e-05/0.01009, allocations: 67.36 kB / 330.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01009, allocations: 0 / 330.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of Templates: time 0.003677/0.01376, allocations: 2.05 MB / 332.8 MB, free: 9.223 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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: 2.961610354948789]