Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.00119/0.00119, allocations: 75.75 kB / 21.69 MB, free: 2.855 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.001214/0.001214, allocations: 171.2 kB / 24.99 MB, free: 9.246 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.652 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.2561/0.2561, allocations: 32.81 MB / 294.6 MB, free: 1.277 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 3.938 kB / 376.1 MB, free: 4.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.563e-05, allocations: 6.312 kB / 376.1 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002557/0.002573, allocations: 1.758 MB / 377.8 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.003924, allocations: 1.005 MB / 378.9 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.263e-05/0.004006, allocations: 0 / 378.9 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.004293, allocations: 47.69 kB / 378.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.004574, allocations: 103.5 kB / 379 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.004749, allocations: 79.61 kB / 379.1 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.004916, allocations: 103.7 kB / 379.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.498e-05/0.005001, allocations: 4 kB / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.005087, allocations: 63.75 kB / 379.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.005163, allocations: 23.92 kB / 379.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.00518, allocations: 4 kB / 379.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.523e-05/0.005265, allocations: 47.91 kB / 379.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.00532, allocations: 27.86 kB / 379.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.005362, allocations: 19.92 kB / 379.4 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.00554, allocations: 99.66 kB / 379.5 MB, free: 1.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.005542, allocations: 0 / 379.5 MB, free: 1.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.42e-07/0.005543, allocations: 0 / 379.5 MB, free: 1.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.005547, allocations: 4 kB / 379.5 MB, free: 1.516 MB / 346.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.0004778/0.006025, allocations: 459.7 kB / 379.9 MB, free: 1.031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.006058, allocations: 8.031 kB / 379.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.006104, allocations: 12.89 kB / 379.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.006276, allocations: 160.9 kB / 380.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.006293, allocations: 384 / 380.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.00631, allocations: 4.375 kB / 380.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.006424, allocations: 62.94 kB / 380.2 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.006434, allocations: 3.938 kB / 380.2 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.006442, allocations: 0 / 380.2 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.006451, allocations: 7.984 kB / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.326e-05/0.006484, allocations: 11.94 kB / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002755/0.00676, allocations: 287.8 kB / 380.5 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.637e-05/0.006856, allocations: 47.17 kB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.006888, allocations: 23.61 kB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.006899, allocations: 0 / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.763e-05/0.006997, allocations: 72.98 kB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.006998, allocations: 0 / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003663/0.007364, allocations: 169.3 kB / 380.8 MB, free: 72 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.007392, allocations: 55.41 kB / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.007542, allocations: 233.9 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.007555, allocations: 25.7 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.007612, allocations: 158.8 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.007638, allocations: 27.78 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.007672, allocations: 31.38 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.007792, allocations: 0.4923 MB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/0.007819, allocations: 15.98 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.007857, allocations: 35.36 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.002e-05/0.007917, allocations: 59.19 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.007918, allocations: 0 / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001123/0.00803, allocations: 89.56 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.008048, allocations: 7.984 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.008054, allocations: 4 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.008068, allocations: 0 / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.9e-05/0.008137, allocations: 12 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.008142, allocations: 0 / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.008175, allocations: 11.95 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.008183, allocations: 7.984 kB / 382 MB, free: 14.73 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 8.417e-05/0.008267, allocations: 171.6 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.008284, allocations: 11.95 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.008434, allocations: 111.2 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008436, allocations: 0 / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.00844, allocations: 0 / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.008445, allocations: 4 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.008734, allocations: 389 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.008736, allocations: 0 / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.008762, allocations: 19.92 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.008765, allocations: 8.031 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.008772, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.008774, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.008775, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.008917, allocations: 259.4 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.008929, allocations: 11.91 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.008946, allocations: 8 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.282e-05/0.008999, allocations: 3.984 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.009029, allocations: 4.375 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.009043, allocations: 7.984 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.236e-05/0.009125, allocations: 180.1 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009125, allocations: 4 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001725/0.009298, allocations: 27.94 kB / 383.2 MB, free: 13.46 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.0009214/0.01022, allocations: 443 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.01033, allocations: 51.61 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01033, allocations: 0 / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.872e-05/0.01037, allocations: 35.61 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.0106, allocations: 32.08 kB / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.01092, allocations: 229.9 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.448e-05/0.01097, allocations: 67.33 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.626e-05/0.011, allocations: 17.28 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.01103, allocations: 20.48 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01103, allocations: 0 / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of Templates: time 0.003618/0.01465, allocations: 1.87 MB / 386 MB, free: 10.83 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.070336116012186]