Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001391/0.001391, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001667/0.001667, allocations: 161 kB / 24.56 MB, free: 20 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.9966/0.9966, allocations: 177.1 MB / 205 MB, free: 5.293 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.3496/0.3496, allocations: 32.81 MB / 294.3 MB, free: 1.238 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 376.1 MB, free: 4.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.511e-05/3.731e-05, allocations: 9.344 kB / 376.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.006468/0.006505, allocations: 1.778 MB / 377.9 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004729/0.01123, allocations: 1.009 MB / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.01136, allocations: 0 / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003782/0.01173, allocations: 43.7 kB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.01213, allocations: 91.48 kB / 379 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.0124, allocations: 83.59 kB / 379.1 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.01261, allocations: 103.7 kB / 379.2 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.01271, allocations: 7.984 kB / 379.2 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.01283, allocations: 55.78 kB / 379.3 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.692e-05/0.01292, allocations: 31.89 kB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.01294, allocations: 8 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.01305, allocations: 43.92 kB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.0131, allocations: 15.94 kB / 379.4 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.01315, allocations: 23.91 kB / 379.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.01338, allocations: 99.59 kB / 379.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.01338, allocations: 0 / 379.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01338, allocations: 0 / 379.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.01339, allocations: 0 / 379.5 MB, free: 1.199 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.003602/0.01699, allocations: 443.9 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.01704, allocations: 12.03 kB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.0171, allocations: 8.891 kB / 379.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.01732, allocations: 156.4 kB / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.01734, allocations: 4.375 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.01738, allocations: 384 / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.01755, allocations: 62.94 kB / 380.2 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.01757, allocations: 3.938 kB / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.01758, allocations: 0 / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.01759, allocations: 0 / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.023e-05/0.01764, allocations: 15.92 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.01801, allocations: 287.8 kB / 380.5 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.01815, allocations: 51.17 kB / 380.5 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.194e-05/0.01819, allocations: 31.59 kB / 380.5 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.0182, allocations: 0 / 380.5 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.01835, allocations: 68.98 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.01835, allocations: 3.938 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004969/0.01885, allocations: 157.3 kB / 380.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.01888, allocations: 51.41 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.01905, allocations: 230.6 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.01906, allocations: 29.7 kB / 381.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.01913, allocations: 150.9 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.01917, allocations: 27.78 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.01922, allocations: 27.38 kB / 381.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.003137/0.02235, allocations: 0.4923 MB / 381.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.618e-05/0.0224, allocations: 15.98 kB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-05/0.02245, allocations: 35.73 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.853e-05/0.02253, allocations: 51.25 kB / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.02253, allocations: 0 / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001621/0.02269, allocations: 97.52 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.02271, allocations: 12.02 kB / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.02272, allocations: 0 / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.02274, allocations: 4 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.02284, allocations: 12 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.02284, allocations: 0 / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.02289, allocations: 8 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.0229, allocations: 3.984 kB / 382 MB, free: 14.46 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 9.367e-05/0.02299, allocations: 164.5 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.02302, allocations: 11.95 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.02323, allocations: 111.2 kB / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.02323, allocations: 4 kB / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.02323, allocations: 0 / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.02324, allocations: 0 / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003898/0.02363, allocations: 392.9 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.02363, allocations: 0 / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.02367, allocations: 11.94 kB / 382.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.02367, allocations: 0 / 382.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.02368, allocations: 7.984 kB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.02368, allocations: 0 / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.02369, allocations: 0 / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.02408, allocations: 263.5 kB / 382.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.02409, allocations: 11.91 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.02412, allocations: 7.938 kB / 383 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.02419, allocations: 0 / 383 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.02423, allocations: 11.98 kB / 383 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.02425, allocations: 4 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001/0.02435, allocations: 171.8 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02435, allocations: 0 / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000281/0.02463, allocations: 23.94 kB / 383.2 MB, free: 13.2 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.004268/0.0289, allocations: 437.7 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.02906, allocations: 51.59 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02906, allocations: 4 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.342e-05/0.02911, allocations: 31.61 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.02947, allocations: 23.98 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004673/0.02994, allocations: 214.3 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.302e-05/0.02999, allocations: 71.33 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.516e-05/0.03004, allocations: 17.41 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.03008, allocations: 20.48 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03008, allocations: 0 / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of Templates: time 0.005256/0.03534, allocations: 1.874 MB / 385.9 MB, free: 10.6 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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.4080950152128935]