Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.0009532/0.0009532, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001141/0.001141, allocations: 165.9 kB / 24.99 MB, free: 8.793 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.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.2869/0.2869, allocations: 32.8 MB / 294.6 MB, free: 1.191 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 376.1 MB, free: 4.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.446e-05, allocations: 2.312 kB / 376.1 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.00249/0.002514, allocations: 1.762 MB / 377.9 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.003771, allocations: 1.005 MB / 378.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.003854, allocations: 0 / 378.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.004172, allocations: 83.69 kB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.004501, allocations: 123.4 kB / 379.1 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.004722, allocations: 83.61 kB / 379.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.004908, allocations: 115.6 kB / 379.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.005013, allocations: 11.98 kB / 379.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.682e-05/0.00511, allocations: 63.81 kB / 379.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.005212, allocations: 51.88 kB / 379.4 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.005229, allocations: 4 kB / 379.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.619e-05/0.005325, allocations: 47.86 kB / 379.4 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.005392, allocations: 35.84 kB / 379.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.005434, allocations: 19.92 kB / 379.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.005616, allocations: 103.6 kB / 379.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005619, allocations: 4 kB / 379.6 MB, free: 1.352 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.00562, allocations: 0 / 379.6 MB, free: 1.352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.005626, allocations: 0 / 379.6 MB, free: 1.352 MB / 346.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.0004743/0.0061, allocations: 451.8 kB / 380 MB, free: 0.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.006134, allocations: 8.031 kB / 380 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.006183, allocations: 20.84 kB / 380.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.006368, allocations: 156.4 kB / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.006386, allocations: 384 / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.006406, allocations: 8.328 kB / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.006537, allocations: 58.94 kB / 380.3 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.00655, allocations: 11.92 kB / 380.3 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.006559, allocations: 0 / 380.3 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.006568, allocations: 4 kB / 380.3 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.797e-05/0.006606, allocations: 12 kB / 380.3 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.006918, allocations: 287.8 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.007022, allocations: 51.16 kB / 380.6 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.007054, allocations: 23.62 kB / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.007065, allocations: 0 / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.00717, allocations: 65.05 kB / 380.7 MB, free: 84 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.007171, allocations: 4 kB / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004225/0.007593, allocations: 169.6 kB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.007626, allocations: 59.34 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.007773, allocations: 242.7 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.007788, allocations: 25.7 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.007851, allocations: 162.8 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.007879, allocations: 27.75 kB / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.007926, allocations: 31.36 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.008066, allocations: 0.4962 MB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.994e-05/0.008096, allocations: 12 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.886e-05/0.008135, allocations: 35.36 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.477e-05/0.0082, allocations: 59.05 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.008201, allocations: 0 / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000124/0.008325, allocations: 85.62 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.00834, allocations: 10.03 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.008345, allocations: 0 / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.008357, allocations: 0 / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/0.008433, allocations: 19.92 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.008439, allocations: 4 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.00847, allocations: 8.031 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.008477, allocations: 4 kB / 382.2 MB, free: 14.55 MB / 362.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 7.853e-05/0.008555, allocations: 164.5 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.008576, allocations: 19.89 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.008725, allocations: 103.2 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.008728, allocations: 4 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.008732, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.008737, allocations: 7.969 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.009039, allocations: 397 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.009041, allocations: 4.031 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.912e-05/0.00907, allocations: 8 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.009073, allocations: 0 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.009082, allocations: 7.984 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.009084, allocations: 0 / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.009086, allocations: 0 / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.009241, allocations: 259.4 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.009254, allocations: 11.95 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.009276, allocations: 4 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/0.009318, allocations: 3.938 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.00935, allocations: 7.984 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.009366, allocations: 15.94 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.348e-05/0.00945, allocations: 181 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00945, allocations: 3.938 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001829/0.009633, allocations: 23.94 kB / 383.4 MB, free: 13.27 MB / 362.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.0009626/0.0106, allocations: 440.9 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.01071, allocations: 51.61 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01072, allocations: 0 / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.228e-05/0.01076, allocations: 39.67 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.011, allocations: 35.91 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.01137, allocations: 236.5 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.446e-05/0.01141, allocations: 75.33 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.442e-05/0.01145, allocations: 13.28 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.01148, allocations: 20.48 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01148, allocations: 0 / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of Templates: time 0.003675/0.01516, allocations: 1.883 MB / 386.1 MB, free: 10.62 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.379012703895569]