Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.001243/0.001243, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001524/0.001524, allocations: 166.9 kB / 24.84 MB, free: 8.918 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.9838/0.9838, allocations: 158.6 MB / 186.7 MB, free: 2.781 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.1414/0.1414, allocations: 32.38 MB / 271.5 MB, free: 14.52 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 349 MB, free: 9.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.917e-05/4.154e-05, allocations: 2.312 kB / 349 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002577/0.002618, allocations: 1.726 MB / 350.7 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009152/0.003534, allocations: 0.7842 MB / 351.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.641e-05/0.00362, allocations: 0 / 351.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.003934, allocations: 43.77 kB / 351.5 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.004164, allocations: 51.7 kB / 351.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.004424, allocations: 95.62 kB / 351.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.004574, allocations: 91.7 kB / 351.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.249e-05/0.004667, allocations: 4.234 kB / 351.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.997e-05/0.004767, allocations: 59.81 kB / 351.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.349e-05/0.00484, allocations: 19.92 kB / 351.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.004858, allocations: 4 kB / 351.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-05/0.004938, allocations: 47.91 kB / 351.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.678e-05/0.004985, allocations: 27.86 kB / 351.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.005017, allocations: 15.94 kB / 352 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.005163, allocations: 95.66 kB / 352.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.005167, allocations: 0 / 352.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.005168, allocations: 7.938 kB / 352.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.005173, allocations: 0 / 352.1 MB, free: 5.996 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.0004214/0.005594, allocations: 435.9 kB / 352.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.005639, allocations: 8.031 kB / 352.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.005689, allocations: 16.84 kB / 352.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.00583, allocations: 148.3 kB / 352.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.005847, allocations: 384 / 352.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.005864, allocations: 4.375 kB / 352.7 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.006, allocations: 58.94 kB / 352.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.00601, allocations: 7.938 kB / 352.7 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.006018, allocations: 4 kB / 352.7 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.006024, allocations: 3.938 kB / 352.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.478e-05/0.006049, allocations: 11.98 kB / 352.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.00634, allocations: 256.4 kB / 353 MB, free: 4.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.006444, allocations: 47.17 kB / 353 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.006469, allocations: 27.53 kB / 353.1 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.006487, allocations: 4 kB / 353.1 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.006602, allocations: 68.97 kB / 353.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.006603, allocations: 4 kB / 353.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004046/0.007008, allocations: 129.5 kB / 353.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.007043, allocations: 55.41 kB / 353.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.007145, allocations: 214.9 kB / 353.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.007159, allocations: 25.7 kB / 353.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.007207, allocations: 154.8 kB / 353.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.007241, allocations: 27.77 kB / 353.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.00728, allocations: 27.38 kB / 353.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.007378, allocations: 0.5001 MB / 354.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.007402, allocations: 11.98 kB / 354.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.137e-05/0.007433, allocations: 31.31 kB / 354.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.31e-05/0.007486, allocations: 47.34 kB / 354.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.007487, allocations: 0 / 354.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001287/0.007616, allocations: 89.58 kB / 354.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.007631, allocations: 4 kB / 354.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.007638, allocations: 4 kB / 354.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.007651, allocations: 0 / 354.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.238e-05/0.007733, allocations: 15.98 kB / 354.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.007735, allocations: 0 / 354.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.007768, allocations: 8.031 kB / 354.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.007774, allocations: 0 / 354.5 MB, free: 3.367 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.28e-05/0.007836, allocations: 164.5 kB / 354.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.007855, allocations: 23.83 kB / 354.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.007982, allocations: 94.45 kB / 354.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.007986, allocations: 0 / 354.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.007989, allocations: 0 / 354.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.007994, allocations: 3.938 kB / 354.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.008255, allocations: 357.6 kB / 355.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.008257, allocations: 4.406 kB / 355.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.008286, allocations: 15.94 kB / 355.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.008288, allocations: 0 / 355.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.008295, allocations: 8 kB / 355.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.008297, allocations: 0 / 355.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008298, allocations: 3.938 kB / 355.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.008401, allocations: 251.4 kB / 355.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.008415, allocations: 11.94 kB / 355.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.008431, allocations: 8 kB / 355.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.524e-05/0.008486, allocations: 0 / 355.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.008518, allocations: 7.984 kB / 355.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.008531, allocations: 8 kB / 355.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.787e-05/0.008579, allocations: 155.1 kB / 355.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.008579, allocations: 0 / 355.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001837/0.008763, allocations: 23.94 kB / 355.6 MB, free: 2.172 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.0009233/0.009686, allocations: 437.5 kB / 356 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.009812, allocations: 55.52 kB / 356.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.009814, allocations: 0 / 356.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.384e-05/0.009848, allocations: 31.73 kB / 356.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.01011, allocations: 43.09 kB / 356.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.01051, allocations: 209.5 kB / 356.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.811e-05/0.01055, allocations: 63.34 kB / 356.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.06e-05/0.01059, allocations: 12.48 kB / 356.4 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.01066, allocations: 90.19 kB / 356.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of SimCode: time 1.573e-06/0.01066, allocations: 0 / 356.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of Templates: time 0.004654/0.01531, allocations: 2.029 MB / 358.5 MB, free: 15.26 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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.2133958828635514]