Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.001083/0.001083, allocations: 91.22 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.00189/0.00189, allocations: 169 kB / 23.8 MB, free: 0.7734 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.9369/0.9369, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1506/0.1506, allocations: 32.38 MB / 270.4 MB, free: 14.69 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.656e-05, allocations: 6.25 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00219/0.002217, allocations: 1.756 MB / 349.5 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009693/0.003186, allocations: 0.7959 MB / 350.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.546e-05/0.003271, allocations: 0 / 350.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.003655, allocations: 115.6 kB / 350.4 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.003883, allocations: 87.66 kB / 350.5 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.00407, allocations: 91.69 kB / 350.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.004233, allocations: 127.6 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.00434, allocations: 7.984 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.364e-05/0.004433, allocations: 71.75 kB / 350.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.808e-05/0.004531, allocations: 71.84 kB / 350.9 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.004551, allocations: 4 kB / 350.9 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.42e-05/0.004625, allocations: 43.92 kB / 350.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.522e-05/0.00468, allocations: 39.84 kB / 350.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.004723, allocations: 19.94 kB / 351 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.004898, allocations: 111.6 kB / 351.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.0049, allocations: 0 / 351.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004901, allocations: 0 / 351.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.004906, allocations: 0 / 351.1 MB, free: 6.023 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004424/0.005348, allocations: 491.5 kB / 351.6 MB, free: 5.508 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.005391, allocations: 8.031 kB / 351.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.005446, allocations: 16.84 kB / 351.6 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.005604, allocations: 160.2 kB / 351.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.005626, allocations: 16.36 kB / 351.8 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.005649, allocations: 4.375 kB / 351.8 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.005786, allocations: 70.88 kB / 351.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.005798, allocations: 7.938 kB / 351.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.00581, allocations: 4 kB / 351.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.005818, allocations: 0 / 351.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.002e-05/0.005868, allocations: 19.97 kB / 351.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.006191, allocations: 319.6 kB / 352.2 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.006317, allocations: 71.19 kB / 352.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.006348, allocations: 19.69 kB / 352.3 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.006362, allocations: 7.984 kB / 352.3 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.006468, allocations: 77.03 kB / 352.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.006469, allocations: 0 / 352.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004573/0.006926, allocations: 193.2 kB / 352.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.006959, allocations: 55.34 kB / 352.6 MB, free: 4.359 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.007091, allocations: 262.8 kB / 352.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.007102, allocations: 33.7 kB / 352.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.007149, allocations: 162.7 kB / 353 MB, free: 3.883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.007179, allocations: 39.67 kB / 353.1 MB, free: 3.844 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.007211, allocations: 35.38 kB / 353.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.007271, allocations: 0.5078 MB / 353.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.007301, allocations: 19.98 kB / 353.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.9e-05/0.00734, allocations: 46.23 kB / 353.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.43e-05/0.007404, allocations: 63.31 kB / 353.7 MB, free: 3.141 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.007406, allocations: 0 / 353.7 MB, free: 3.141 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001154/0.007521, allocations: 113.5 kB / 353.8 MB, free: 3.023 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.007535, allocations: 8 kB / 353.9 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.00754, allocations: 0 / 353.9 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.007554, allocations: 4.031 kB / 353.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.547e-05/0.00764, allocations: 27.92 kB / 353.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.007646, allocations: 4 kB / 353.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.007676, allocations: 3.938 kB / 353.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.007684, allocations: 4 kB / 353.9 MB, free: 2.973 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 (13): * Single equations (assignments): 13 * 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 5.535e-05/0.00774, allocations: 168.5 kB / 354.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.007755, allocations: 19.91 kB / 354.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.007941, allocations: 139.5 kB / 354.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.007945, allocations: 4 kB / 354.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.007949, allocations: 8 kB / 354.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.007956, allocations: 0 / 354.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.008281, allocations: 444.9 kB / 354.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.008284, allocations: 0 / 354.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.008325, allocations: 19.92 kB / 354.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.008329, allocations: 4 kB / 354.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.00834, allocations: 4 kB / 354.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.008343, allocations: 4 kB / 354.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.008344, allocations: 0 / 354.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.008484, allocations: 287.4 kB / 355 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.302e-05/0.008497, allocations: 19.94 kB / 355 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.008518, allocations: 4 kB / 355 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.27e-05/0.00856, allocations: 4 kB / 355 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.008605, allocations: 19.91 kB / 355 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.008621, allocations: 4 kB / 355 MB, free: 1.754 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.13e-05/0.008692, allocations: 191 kB / 355.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008692, allocations: 4 kB / 355.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001791/0.008872, allocations: 27.94 kB / 355.2 MB, free: 1.535 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 (13): * Single equations (assignments): 11 * 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.0008973/0.009769, allocations: 437 kB / 355.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.009918, allocations: 67.59 kB / 355.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.00992, allocations: 4 kB / 355.7 MB, free: 1.125 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.506e-05/0.009965, allocations: 47.59 kB / 355.8 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.01021, allocations: 35.94 kB / 355.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.0106, allocations: 281.4 kB / 356.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.713e-05/0.01064, allocations: 79.33 kB / 356.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.702e-05/0.01067, allocations: 24.75 kB / 356.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.01072, allocations: 16.5 kB / 356.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01072, allocations: 0 / 356.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of Templates: time 0.004582/0.0153, allocations: 2.246 MB / 358.5 MB, free: 14.38 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.130248741712421]