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.001314/0.001314, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001787/0.001787, allocations: 167.7 kB / 25.61 MB, free: 8.582 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 0.9919/0.9919, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1372/0.1372, allocations: 32.79 MB / 295.4 MB, free: 15.37 MB / 282.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.493e-06/1.493e-06, allocations: 0 / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.015e-05, allocations: 3.516 kB / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.00273/0.002751, allocations: 1.71 MB / 379.1 MB, free: 23.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.004177, allocations: 0.978 MB / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.004256, allocations: 0 / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.004548, allocations: 63.67 kB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.004878, allocations: 111.5 kB / 380.2 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.005072, allocations: 75.66 kB / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.005236, allocations: 111.6 kB / 380.4 MB, free: 22.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.005278, allocations: 4.234 kB / 380.4 MB, free: 22.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.005379, allocations: 63.81 kB / 380.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.288e-05/0.005471, allocations: 43.88 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.005488, allocations: 4 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.465e-05/0.005562, allocations: 31.88 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.005611, allocations: 23.92 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.00565, allocations: 19.92 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.005809, allocations: 79.73 kB / 380.7 MB, free: 22.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.005811, allocations: 4 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005812, allocations: 0 / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.005816, allocations: 0 / 380.7 MB, free: 22.18 MB / 314.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.0003809/0.006197, allocations: 447.9 kB / 381.1 MB, free: 21.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.006229, allocations: 11.98 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.006272, allocations: 16.83 kB / 381.1 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.006425, allocations: 157 kB / 381.3 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.006444, allocations: 4.375 kB / 381.3 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.006453, allocations: 384 / 381.3 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.006563, allocations: 54.94 kB / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.006575, allocations: 7.938 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-06/0.006583, allocations: 4 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.006588, allocations: 0 / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.267e-05/0.006621, allocations: 11.98 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001107/0.006732, allocations: 109.3 kB / 381.5 MB, free: 21.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.915e-05/0.006831, allocations: 47.05 kB / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.53e-05/0.006856, allocations: 23.66 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.006866, allocations: 0 / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.993e-05/0.006956, allocations: 65.05 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.944e-06/0.006958, allocations: 0 / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001716/0.00713, allocations: 85.47 kB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.007153, allocations: 55.39 kB / 381.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.007262, allocations: 225.8 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.007273, allocations: 29.7 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.00731, allocations: 154.8 kB / 382.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.007339, allocations: 11.94 kB / 382.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.007373, allocations: 27.36 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.417e-05/0.007427, allocations: 0.4962 MB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.239e-05/0.007449, allocations: 8 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-05/0.007484, allocations: 27.36 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.948e-05/0.007533, allocations: 35.31 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.007535, allocations: 0 / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.965e-05/0.007635, allocations: 65.59 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.007647, allocations: 4 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.007653, allocations: 4 kB / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.007664, allocations: 7.875 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.043e-05/0.007735, allocations: 15.98 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.007737, allocations: 4.031 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.031e-05/0.007778, allocations: 7.938 kB / 382.8 MB, free: 19.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.007784, allocations: 0 / 382.8 MB, free: 19.78 MB / 314.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 5.657e-05/0.00784, allocations: 160.5 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.007864, allocations: 19.91 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.007995, allocations: 83.08 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.007999, allocations: 3.938 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.008, allocations: 0 / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.008004, allocations: 3.984 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.966e-05/0.008094, allocations: 117.2 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.008096, allocations: 8 kB / 383.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.008128, allocations: 4 kB / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.008131, allocations: 0 / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.008138, allocations: 0 / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.00814, allocations: 0 / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.008142, allocations: 3.984 kB / 383.2 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.008259, allocations: 116.3 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.008274, allocations: 3.953 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.008294, allocations: 8 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.786e-05/0.008332, allocations: 3.984 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.008354, allocations: 7.938 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.008384, allocations: 7.938 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.877e-05/0.008473, allocations: 171.1 kB / 383.5 MB, free: 19 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.008473, allocations: 0 / 383.5 MB, free: 19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002611/0.008734, allocations: 16 kB / 383.6 MB, free: 18.99 MB / 314.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.0009765/0.009711, allocations: 391 kB / 383.9 MB, free: 18.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.897e-05/0.00979, allocations: 35.67 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.009791, allocations: 0 / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.548e-05/0.009816, allocations: 31.59 kB / 384 MB, free: 18.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.009985, allocations: 27.02 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002362/0.01022, allocations: 200 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.273e-05/0.01024, allocations: 71.27 kB / 384.3 MB, free: 18.33 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.675e-05/0.01027, allocations: 16.56 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.01032, allocations: 86.12 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01033, allocations: 4 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of Templates: time 0.002984/0.01331, allocations: 1.811 MB / 386.2 MB, free: 16.45 MB / 314.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 -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: 3.0576040567830205]