Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001069/0.001069, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.00112/0.00112, allocations: 169.8 kB / 24.82 MB, free: 8.938 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.092/1.092, allocations: 177.2 MB / 205.3 MB, free: 5.512 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.344/0.344, allocations: 34.26 MB / 296.1 MB, free: 0.6445 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 378.6 MB, free: 2.273 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.752e-05, allocations: 6.312 kB / 378.6 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002166/0.002183, allocations: 1.754 MB / 380.3 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.00334, allocations: 0.9975 MB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.003408, allocations: 7.938 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.003647, allocations: 43.7 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.003871, allocations: 91.53 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.00402, allocations: 83.59 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.004151, allocations: 107.6 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.674e-05/0.004228, allocations: 11.98 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.455e-05/0.004302, allocations: 59.77 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.004361, allocations: 23.91 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.004373, allocations: 4 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.728e-05/0.004441, allocations: 47.91 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.962e-05/0.00448, allocations: 19.92 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.004512, allocations: 15.94 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.004649, allocations: 107.5 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-06/0.00465, allocations: 0 / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.004651, allocations: 0 / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.004654, allocations: 0 / 382 MB, free: 14.88 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.0003713/0.005026, allocations: 455.8 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.005056, allocations: 8.031 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.005088, allocations: 16.84 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.005214, allocations: 153.1 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.005229, allocations: 4.375 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.005243, allocations: 4.375 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.053e-05/0.005334, allocations: 58.88 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.005344, allocations: 7.922 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.00535, allocations: 4 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.005355, allocations: 0 / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.306e-05/0.005378, allocations: 12 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.005587, allocations: 256.4 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.941e-05/0.005666, allocations: 63.09 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.005686, allocations: 11.69 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.005698, allocations: 0 / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.7e-05/0.005775, allocations: 68.98 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 7.22e-07/0.005776, allocations: 0 / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002753/0.006051, allocations: 137.5 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.006075, allocations: 63.34 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.006182, allocations: 222.3 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.006193, allocations: 29.69 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.006246, allocations: 154.8 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.006269, allocations: 27.78 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.006299, allocations: 27.36 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.006404, allocations: 0.4923 MB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.00642, allocations: 11.98 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.696e-05/0.006447, allocations: 39.28 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.148e-05/0.006488, allocations: 43.45 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006489, allocations: 0 / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.96e-05/0.006579, allocations: 97.44 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.006588, allocations: 4 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.006593, allocations: 3.984 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.006603, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.209e-05/0.006655, allocations: 20 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.006658, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.006682, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.006687, allocations: 4 kB / 384.4 MB, free: 12.21 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.241e-05/0.00676, allocations: 176.5 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.006776, allocations: 19.84 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.006895, allocations: 99.06 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.006897, allocations: 0 / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.006898, allocations: 0 / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006901, allocations: 0 / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.007137, allocations: 361.6 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.007138, allocations: 0 / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.00716, allocations: 11.98 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.007161, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.007169, allocations: 12.41 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.00717, allocations: 0 / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.007172, allocations: 4 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.007298, allocations: 255.4 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.007308, allocations: 7.953 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.007321, allocations: 0 / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.117e-05/0.007363, allocations: 11.98 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.007383, allocations: 3.938 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.007398, allocations: 7.984 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.535e-05/0.007464, allocations: 164.1 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007464, allocations: 4 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.007629, allocations: 23.94 kB / 385.6 MB, free: 10.99 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.000951/0.00858, allocations: 436.5 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.263e-05/0.008673, allocations: 51.64 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.008674, allocations: 0 / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.135e-05/0.008755, allocations: 31.61 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.008988, allocations: 47.62 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.009292, allocations: 222.1 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.447e-05/0.009347, allocations: 67.28 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.657e-05/0.009383, allocations: 16.97 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.009452, allocations: 86.19 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.009453, allocations: 0 / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of Templates: time 0.003392/0.01284, allocations: 2.04 MB / 388.5 MB, free: 8.141 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.428937364835292]