Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001067/0.001067, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001057/0.001057, allocations: 160.5 kB / 24.99 MB, free: 9.316 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.127/1.127, allocations: 177.1 MB / 205.3 MB, free: 5.582 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.2753/0.2753, allocations: 32.8 MB / 294.6 MB, free: 1.289 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 376.1 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.001e-05, allocations: 6.25 kB / 376.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002507/0.002527, allocations: 1.776 MB / 377.9 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.00451, allocations: 1.714 MB / 379.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.004587, allocations: 0 / 379.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.004861, allocations: 39.77 kB / 379.6 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.00517, allocations: 103.4 kB / 379.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.005332, allocations: 83.59 kB / 379.8 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.005506, allocations: 119.6 kB / 379.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.475e-05/0.005591, allocations: 4 kB / 379.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004997/0.006091, allocations: 55.83 kB / 380 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.006201, allocations: 39.89 kB / 380 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.006221, allocations: 4 kB / 380 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.006366, allocations: 107.8 kB / 380.1 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.006421, allocations: 15.92 kB / 380.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.00646, allocations: 23.92 kB / 380.2 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.006668, allocations: 159.5 kB / 380.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.00667, allocations: 0 / 380.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00667, allocations: 0 / 380.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.006674, allocations: 4 kB / 380.3 MB, free: 0.6406 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.0004482/0.007122, allocations: 455.7 kB / 380.8 MB, free: 164 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.007158, allocations: 12.03 kB / 380.8 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.007206, allocations: 8.891 kB / 380.8 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.007394, allocations: 149 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.007414, allocations: 384 / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.007433, allocations: 4.375 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.007583, allocations: 115.4 kB / 381.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.007593, allocations: 3.953 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.007603, allocations: 0 / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.00761, allocations: 8 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.525e-05/0.007645, allocations: 15.92 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.007927, allocations: 287.8 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.787e-05/0.008025, allocations: 47.17 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.008052, allocations: 15.69 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.008064, allocations: 0 / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.885e-05/0.008163, allocations: 68.98 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.008164, allocations: 0 / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003865/0.008551, allocations: 169.3 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.008591, allocations: 81.05 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.008725, allocations: 217.2 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.008738, allocations: 33.7 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.008786, allocations: 142.9 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.00881, allocations: 23.8 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.008843, allocations: 31.36 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.008957, allocations: 0.4961 MB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.008979, allocations: 8 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.391e-05/0.009023, allocations: 68.75 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.057e-05/0.009084, allocations: 63.33 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.009085, allocations: 0 / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001066/0.009191, allocations: 97.52 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.009204, allocations: 4 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.009208, allocations: 0 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.009221, allocations: 0 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.999e-05/0.009301, allocations: 19.98 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.009306, allocations: 0 / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.075e-05/0.009337, allocations: 0 / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.009344, allocations: 4 kB / 382.9 MB, free: 13.78 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.056e-05/0.009414, allocations: 168.5 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.009431, allocations: 11.95 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.009575, allocations: 106.5 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.009577, allocations: 4 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.009581, allocations: 0 / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.009584, allocations: 0 / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.009857, allocations: 392.9 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.009859, allocations: 0 / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.009885, allocations: 15.94 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.009887, allocations: 4.031 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.009896, allocations: 4 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.009899, allocations: 4 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.0099, allocations: 0 / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.01004, allocations: 255.4 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.01005, allocations: 11.94 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.01007, allocations: 4 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.25e-05/0.01011, allocations: 4 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.01015, allocations: 11.86 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.01016, allocations: 4 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.769e-05/0.01024, allocations: 169.6 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01024, allocations: 0 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002007/0.01044, allocations: 47.86 kB / 384.1 MB, free: 12.5 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.001114/0.01155, allocations: 0.5383 MB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.01167, allocations: 51.59 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01167, allocations: 0 / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/0.01171, allocations: 35.61 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.01193, allocations: 39.73 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.01224, allocations: 210 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.638e-05/0.01228, allocations: 67.34 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.264e-05/0.01232, allocations: 21.27 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.01236, allocations: 24.48 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01236, allocations: 0 / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of Templates: time 0.004282/0.01664, allocations: 2.531 MB / 387.6 MB, free: 9.16 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.3693359941244125]