Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.001074/0.001074, allocations: 95.31 kB / 20.43 MB, free: 4.141 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.001133/0.001133, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9789/0.9789, allocations: 158.6 MB / 185.7 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1429/0.1429, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 347.7 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.274e-05/3.459e-05, allocations: 6.25 kB / 347.8 MB, free: 9.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.005604/0.005639, allocations: 1.741 MB / 349.5 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.006747, allocations: 0.7882 MB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.991e-05/0.006827, allocations: 0 / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003447/0.01027, allocations: 51.69 kB / 350.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.01056, allocations: 59.75 kB / 350.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.01085, allocations: 83.7 kB / 350.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.01106, allocations: 99.62 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.01117, allocations: 4.234 kB / 350.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.421e-05/0.01126, allocations: 55.83 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.254e-05/0.01133, allocations: 23.91 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.01135, allocations: 4 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.742e-05/0.01145, allocations: 43.92 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.0115, allocations: 23.86 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.01155, allocations: 27.86 kB / 350.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.01174, allocations: 95.66 kB / 350.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.01174, allocations: 0 / 350.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01175, allocations: 0 / 350.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.01175, allocations: 4 kB / 350.8 MB, free: 6.242 MB / 282.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.0004495/0.0122, allocations: 443.9 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.01224, allocations: 8.031 kB / 351.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.0123, allocations: 16.84 kB / 351.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.01247, allocations: 153.8 kB / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.01249, allocations: 4.375 kB / 351.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.01251, allocations: 8.375 kB / 351.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.01265, allocations: 66.94 kB / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.01266, allocations: 3.938 kB / 351.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.01267, allocations: 0 / 351.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.01268, allocations: 0 / 351.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.945e-05/0.01272, allocations: 11.98 kB / 351.5 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003405/0.01613, allocations: 291.7 kB / 351.8 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.01628, allocations: 55.11 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/0.01631, allocations: 23.61 kB / 351.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.01633, allocations: 4 kB / 351.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.01645, allocations: 65.05 kB / 352 MB, free: 4.977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.01645, allocations: 0 / 352 MB, free: 4.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004435/0.0169, allocations: 153.4 kB / 352.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.01692, allocations: 55.41 kB / 352.2 MB, free: 4.754 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.01704, allocations: 232 kB / 352.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.01705, allocations: 37.64 kB / 352.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.01709, allocations: 142.9 kB / 352.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.01711, allocations: 35.72 kB / 352.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.01715, allocations: 31.38 kB / 352.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.01721, allocations: 0.4962 MB / 353.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/0.01724, allocations: 15.98 kB / 353.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-05/0.01728, allocations: 31.38 kB / 353.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.216e-05/0.01734, allocations: 51.31 kB / 353.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.01734, allocations: 0 / 353.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001365/0.01748, allocations: 89.56 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.01749, allocations: 8 kB / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.0175, allocations: 0 / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.01751, allocations: 0 / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.0176, allocations: 19.97 kB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.01761, allocations: 0 / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.172e-05/0.01765, allocations: 11.98 kB / 353.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.01766, allocations: 4 kB / 353.4 MB, free: 3.492 MB / 282.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.884e-05/0.01773, allocations: 164.5 kB / 353.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.01775, allocations: 11.91 kB / 353.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.01792, allocations: 111.2 kB / 353.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01792, allocations: 0 / 353.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01793, allocations: 384 / 353.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01793, allocations: 0 / 353.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.0182, allocations: 401 kB / 354 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01821, allocations: 0 / 354 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.01824, allocations: 11.98 kB / 354.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.01824, allocations: 0 / 354.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.01825, allocations: 7.938 kB / 354.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01825, allocations: 0 / 354.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01826, allocations: 0 / 354.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.01839, allocations: 267.4 kB / 354.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.529e-05/0.0184, allocations: 7.953 kB / 354.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.01842, allocations: 0 / 354.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/0.01848, allocations: 12.03 kB / 354.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.01852, allocations: 11.92 kB / 354.4 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.01854, allocations: 4 kB / 354.4 MB, free: 2.414 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.003079/0.02162, allocations: 171.8 kB / 354.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02162, allocations: 0 / 354.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002871/0.0219, allocations: 27.94 kB / 354.6 MB, free: 2.219 MB / 282.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.001043/0.02295, allocations: 429.8 kB / 355 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.02309, allocations: 59.53 kB / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.0231, allocations: 4.062 kB / 355 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.483e-05/0.02314, allocations: 31.67 kB / 355.1 MB, free: 1.793 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.02346, allocations: 36.09 kB / 355.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.02386, allocations: 225.1 kB / 355.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.605e-05/0.0239, allocations: 63.34 kB / 355.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.078e-05/0.02394, allocations: 20.47 kB / 355.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.02398, allocations: 24.56 kB / 355.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.02398, allocations: 0 / 355.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of Templates: time 0.006858/0.03083, allocations: 1.845 MB / 357.3 MB, free: 15.56 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.3763612769544125]