Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001495/0.001495, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00184/0.00184, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9743/0.9743, allocations: 177.1 MB / 205 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2772/0.2772, allocations: 34.26 MB / 295.7 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.021e-06/1.021e-06, allocations: 0 / 378.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.396e-05, allocations: 2.312 kB / 378.1 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.00214/0.002154, allocations: 1.766 MB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.003297, allocations: 1.009 MB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.878e-05/0.003366, allocations: 0 / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.003647, allocations: 39.7 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.003966, allocations: 99.55 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.004151, allocations: 79.59 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.004324, allocations: 111.6 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.371e-05/0.004408, allocations: 4 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.004491, allocations: 55.78 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.953e-05/0.00456, allocations: 31.89 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.004576, allocations: 4 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.987e-05/0.004656, allocations: 43.92 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.004704, allocations: 23.92 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.004739, allocations: 19.92 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.004895, allocations: 99.59 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004897, allocations: 0 / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004898, allocations: 3.938 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.004901, allocations: 0 / 381.5 MB, free: 15.12 MB / 362.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.0004143/0.005315, allocations: 439.9 kB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.005348, allocations: 12.03 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.005394, allocations: 12.89 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.005551, allocations: 148.4 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.005569, allocations: 4.375 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.005587, allocations: 384 / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.005708, allocations: 66.94 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.005718, allocations: 7.875 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.005729, allocations: 3.984 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.005736, allocations: 0 / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.395e-05/0.00577, allocations: 12 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.006059, allocations: 283.8 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.006168, allocations: 59.09 kB / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.006199, allocations: 23.61 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.006212, allocations: 4 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.428e-05/0.006306, allocations: 65.05 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.01e-07/0.006307, allocations: 0 / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003647/0.006672, allocations: 165.3 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.006699, allocations: 51.41 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.006816, allocations: 226.6 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.006828, allocations: 29.7 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.00688, allocations: 150.9 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.006906, allocations: 23.8 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.006938, allocations: 35.3 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003491/0.007287, allocations: 0.5001 MB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.00731, allocations: 8 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.007344, allocations: 39.3 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.327e-05/0.007397, allocations: 47.31 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.007398, allocations: 0 / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.944e-05/0.007498, allocations: 105.6 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.007509, allocations: 4 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.007513, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.007524, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.327e-05/0.007597, allocations: 20.03 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.007601, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.007628, allocations: 3.984 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.007635, allocations: 4 kB / 384 MB, free: 12.38 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.127e-05/0.007706, allocations: 171.7 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.007721, allocations: 11.95 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.00786, allocations: 103.1 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.007863, allocations: 4 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.007866, allocations: 0 / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.00787, allocations: 0 / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.008134, allocations: 396.9 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.008135, allocations: 0 / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.533e-05/0.00816, allocations: 11.98 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008162, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.008172, allocations: 8 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.008174, allocations: 0 / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.008175, allocations: 0 / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.008311, allocations: 255.4 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.008322, allocations: 11.91 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.008337, allocations: 4 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.008375, allocations: 12.02 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.008404, allocations: 4.375 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.008416, allocations: 7.984 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.304e-05/0.008489, allocations: 167.8 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008489, allocations: 0 / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001703/0.00866, allocations: 23.94 kB / 385.2 MB, free: 11.13 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.0008733/0.009533, allocations: 436.5 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.009654, allocations: 51.64 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.009656, allocations: 4.062 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.816e-05/0.009694, allocations: 39.61 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.009917, allocations: 27.92 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.01032, allocations: 218.2 kB / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.72e-05/0.01037, allocations: 67.34 kB / 386 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.086e-05/0.0104, allocations: 12.97 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.01043, allocations: 20.5 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01043, allocations: 4 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.003568/0.014, allocations: 2.014 MB / 388.1 MB, free: 8.375 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.166310159023851]