Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001374/0.001374, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001577/0.001577, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.567/1.567, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3454/0.3454, allocations: 32.81 MB / 293.9 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 179] 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.475e-05/3.671e-05, allocations: 6.25 kB / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003421/0.003458, allocations: 1.723 MB / 377.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.005425, allocations: 0.9742 MB / 378 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.005494, allocations: 4 kB / 378 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.005803, allocations: 51.7 kB / 378.1 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.006172, allocations: 107.5 kB / 378.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.006406, allocations: 71.67 kB / 378.3 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.006617, allocations: 115.6 kB / 378.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.325e-05/0.0067, allocations: 4 kB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.006815, allocations: 55.83 kB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.885e-05/0.006893, allocations: 27.91 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.006913, allocations: 4 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.007019, allocations: 47.86 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.134e-05/0.007091, allocations: 31.86 kB / 378.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.709e-05/0.007148, allocations: 23.91 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.007427, allocations: 131.5 kB / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.00743, allocations: 0 / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007431, allocations: 0 / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.007436, allocations: 0 / 378.7 MB, free: 1.512 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.0006469/0.008082, allocations: 365.3 kB / 379.1 MB, free: 1.125 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.008118, allocations: 16.03 kB / 379.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.008186, allocations: 24.83 kB / 379.1 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.008507, allocations: 162.4 kB / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.008521, allocations: 384 / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.00855, allocations: 8.375 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.00871, allocations: 54.23 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.008723, allocations: 3.938 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.008734, allocations: 0 / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.008738, allocations: 0 / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.568e-05/0.008814, allocations: 23.92 kB / 379.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.009221, allocations: 252.5 kB / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.009429, allocations: 54.67 kB / 379.6 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.009503, allocations: 20.8 kB / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.009524, allocations: 4 kB / 379.7 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.009691, allocations: 67.38 kB / 379.7 MB, free: 368 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.009692, allocations: 7.938 kB / 379.7 MB, free: 360 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006405/0.01033, allocations: 189.3 kB / 379.9 MB, free: 164 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.01038, allocations: 55.34 kB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.01071, allocations: 276.1 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.01074, allocations: 29.7 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.365e-05/0.01083, allocations: 120 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.01088, allocations: 31.77 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.01092, allocations: 21.72 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.0111, allocations: 330.8 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.347e-05/0.01118, allocations: 16 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.01126, allocations: 37.7 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.0114, allocations: 65.58 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.0114, allocations: 4 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002503/0.01165, allocations: 109.6 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.01166, allocations: 6.031 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.01167, allocations: 4 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.01169, allocations: 0 / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.874e-05/0.01179, allocations: 20.3 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.01179, allocations: 0 / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.701e-05/0.01185, allocations: 12 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.01186, allocations: 4 kB / 381 MB, free: 14.98 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 0.0001336/0.012, allocations: 145 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.01203, allocations: 15.91 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.01235, allocations: 131.2 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.01235, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.01235, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01236, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.0129, allocations: 362.9 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.0129, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.01295, allocations: 15.98 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.01295, allocations: 7.922 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.01296, allocations: 8.031 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.01297, allocations: 4 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.01297, allocations: 3.938 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.01328, allocations: 212.2 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.01331, allocations: 15.91 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.01334, allocations: 7.922 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.01342, allocations: 8 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.01346, allocations: 3.984 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.01348, allocations: 4 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003183/0.0138, allocations: 212.5 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0138, allocations: 4 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002874/0.01409, allocations: 27.94 kB / 382.2 MB, free: 13.75 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.002292/0.01638, allocations: 484.5 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.01659, allocations: 63.91 kB / 382.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01659, allocations: 7.938 kB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.638e-05/0.01668, allocations: 31.91 kB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.01708, allocations: 35.7 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/0.01773, allocations: 302 kB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.01787, allocations: 107.6 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.01793, allocations: 25.27 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.01798, allocations: 20.5 kB / 383.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01798, allocations: 0 / 383.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of Templates: time 0.006095/0.02407, allocations: 1.885 MB / 385.2 MB, free: 10.98 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.944246825994924]