Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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: 80.8 kB / 21.5 MB, free: 2.988 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.001187/0.001187, allocations: 169.6 kB / 24.91 MB, free: 8.777 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.12/1.12, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2979/0.2979, allocations: 32.81 MB / 294.6 MB, free: 1.188 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 323.4 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.51e-05, allocations: 2.969 kB / 323.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002869/0.002894, allocations: 1.753 MB / 325.1 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.004129, allocations: 0.9906 MB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.088e-05/0.0042, allocations: 0 / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.004491, allocations: 63.67 kB / 326.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.004793, allocations: 107.5 kB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.004973, allocations: 75.66 kB / 326.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.005126, allocations: 103.6 kB / 326.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.005165, allocations: 8.219 kB / 326.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.274e-05/0.005258, allocations: 63.77 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.889e-05/0.005347, allocations: 39.89 kB / 326.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.00536, allocations: 4 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.595e-05/0.005426, allocations: 35.92 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.005469, allocations: 19.92 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.005502, allocations: 23.86 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.005654, allocations: 87.67 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005656, allocations: 0 / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005657, allocations: 0 / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.005661, allocations: 0 / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00034/0.006001, allocations: 309.5 kB / 327 MB, free: 5.848 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.006032, allocations: 8.031 kB / 327 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.006061, allocations: 16.86 kB / 327 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.006216, allocations: 151.4 kB / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.00623, allocations: 4.375 kB / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.006238, allocations: 4.375 kB / 327.2 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.006342, allocations: 57.77 kB / 327.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.00635, allocations: 3.938 kB / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.006357, allocations: 0 / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.006362, allocations: 0 / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.006386, allocations: 7.984 kB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.376e-05/0.00648, allocations: 66.7 kB / 327.3 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.047e-05/0.00656, allocations: 45.36 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.006585, allocations: 16.84 kB / 327.4 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.006596, allocations: 3.938 kB / 327.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.413e-05/0.00668, allocations: 62.22 kB / 327.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.006681, allocations: 0 / 327.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001107/0.006792, allocations: 57.62 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.006822, allocations: 59.34 kB / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.006922, allocations: 177.5 kB / 327.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.006934, allocations: 25.7 kB / 327.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.006962, allocations: 96.11 kB / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.006991, allocations: 23.83 kB / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.007018, allocations: 17.72 kB / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.002e-05/0.007098, allocations: 326.8 kB / 328.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.007114, allocations: 6.828 kB / 328.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.047e-05/0.007135, allocations: 25.69 kB / 328.3 MB, free: 4.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.285e-05/0.007178, allocations: 39.28 kB / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.00718, allocations: 0 / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.363e-05/0.007243, allocations: 56.52 kB / 328.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.007255, allocations: 4 kB / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.007259, allocations: 8.031 kB / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.007271, allocations: 3.984 kB / 328.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.034e-05/0.007331, allocations: 15.88 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.007334, allocations: 0 / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.00736, allocations: 4.312 kB / 328.4 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.007364, allocations: 0 / 328.4 MB, free: 4.324 MB / 298.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 (7): * Single equations (assignments): 7 * 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.575e-05/0.00743, allocations: 120.7 kB / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.007441, allocations: 4 kB / 328.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.814e-05/0.007539, allocations: 70.77 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.007542, allocations: 3.984 kB / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.007544, allocations: 7.938 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.007547, allocations: 0 / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.385e-05/0.007631, allocations: 85.86 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.007633, allocations: 4 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.007655, allocations: 4 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.007657, allocations: 0 / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-06/0.007663, allocations: 0 / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007664, allocations: 0 / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007665, allocations: 0 / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.102e-05/0.007736, allocations: 94.62 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.00775, allocations: 15.91 kB / 328.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.007763, allocations: 4 kB / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.007784, allocations: 3.984 kB / 328.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.007808, allocations: 7.938 kB / 328.8 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.007818, allocations: 0 / 328.8 MB, free: 3.852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.218e-05/0.00786, allocations: 55.58 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00786, allocations: 0 / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00012/0.00798, allocations: 19.94 kB / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001102/0.009082, allocations: 0.4957 MB / 329.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.823e-05/0.00917, allocations: 36.84 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.009175, allocations: 0 / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.842e-05/0.009203, allocations: 24.78 kB / 329.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.009346, allocations: 28.17 kB / 329.5 MB, free: 3.449 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.009647, allocations: 202.8 kB / 329.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.505e-05/0.009682, allocations: 63.34 kB / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.076e-05/0.009713, allocations: 12.47 kB / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.009775, allocations: 75.41 kB / 329.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.009776, allocations: 0 / 329.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of Templates: time 0.003841/0.01362, allocations: 1.773 MB / 331.6 MB, free: 1.309 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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: 2.9782602032646537]