Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.0009772/0.0009772, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001245/0.001245, allocations: 165.1 kB / 25.61 MB, free: 8.887 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.004/1.004, allocations: 177.1 MB / 206.1 MB, free: 4.469 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.1498/0.1498, allocations: 32.8 MB / 295.4 MB, free: 15.46 MB / 282.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 377.3 MB, free: 25.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.132e-05, allocations: 2.312 kB / 377.4 MB, free: 25.51 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002192/0.002213, allocations: 1.942 MB / 379.3 MB, free: 23.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.003331, allocations: 1.029 MB / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.003446, allocations: 0 / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.003725, allocations: 39.69 kB / 380.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.003986, allocations: 107.4 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.00418, allocations: 99.58 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.004337, allocations: 151.5 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.793e-05/0.004435, allocations: 21.8 kB / 380.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.672e-05/0.004521, allocations: 83.69 kB / 380.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.912e-05/0.0046, allocations: 35.88 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.004617, allocations: 8 kB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.619e-05/0.004693, allocations: 47.92 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.004738, allocations: 31.84 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.004775, allocations: 31.86 kB / 381 MB, free: 21.87 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.004951, allocations: 127.5 kB / 381.1 MB, free: 21.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004954, allocations: 0 / 381.1 MB, free: 21.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004955, allocations: 0 / 381.1 MB, free: 21.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.004959, allocations: 0 / 381.1 MB, free: 21.74 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003882/0.005347, allocations: 0.5013 MB / 381.6 MB, free: 21.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.005381, allocations: 11.98 kB / 381.6 MB, free: 21.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.005422, allocations: 24.84 kB / 381.6 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.005566, allocations: 181 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.00558, allocations: 384 / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.005598, allocations: 12.38 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.005731, allocations: 139 kB / 382 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.005738, allocations: 3.938 kB / 382 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.005747, allocations: 12 kB / 382 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.005751, allocations: 0 / 382 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.32e-05/0.005784, allocations: 23.92 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.006067, allocations: 0.5488 MB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.006212, allocations: 67.09 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.239e-05/0.006234, allocations: 27.66 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.006244, allocations: 0 / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.425e-05/0.006339, allocations: 106.7 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.00634, allocations: 0 / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001574/0.006497, allocations: 101.5 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.655e-05/0.006514, allocations: 55.41 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.737e-05/0.006601, allocations: 248.8 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.006611, allocations: 25.7 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.00666, allocations: 166.8 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.006675, allocations: 27.77 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.006706, allocations: 35.36 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.393e-05/0.00675, allocations: 0.5 MB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/0.006768, allocations: 15.98 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.92e-05/0.006797, allocations: 58.42 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.141e-05/0.006849, allocations: 82.28 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.006851, allocations: 0 / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001013/0.006952, allocations: 113.7 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.006965, allocations: 6.312 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.00697, allocations: 4 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.00698, allocations: 7.984 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/0.007045, allocations: 23.94 kB / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.007049, allocations: 4 kB / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.007083, allocations: 11.92 kB / 384.2 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.007089, allocations: 4 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 5.271e-05/0.007141, allocations: 164.5 kB / 384.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.007158, allocations: 15.91 kB / 384.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.007278, allocations: 103.1 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.00728, allocations: 4 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.007283, allocations: 0 / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.007287, allocations: 0 / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.058e-05/0.007367, allocations: 137.1 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.007369, allocations: 3.984 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.007416, allocations: 19.98 kB / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.007418, allocations: 0 / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.007425, allocations: 3.938 kB / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.007426, allocations: 3.938 kB / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.007427, allocations: 0 / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.007558, allocations: 164 kB / 384.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.007572, allocations: 11.91 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.007587, allocations: 8 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.764e-05/0.007615, allocations: 7.984 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.007646, allocations: 4 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.00766, allocations: 7.984 kB / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.789e-05/0.007708, allocations: 163.1 kB / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007708, allocations: 0 / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001625/0.00787, allocations: 31.92 kB / 385 MB, free: 17.44 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.000824/0.008694, allocations: 370.2 kB / 385.4 MB, free: 17.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.77e-05/0.008792, allocations: 59.53 kB / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.008794, allocations: 4 kB / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/0.008826, allocations: 36.09 kB / 385.5 MB, free: 17.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.009022, allocations: 48.61 kB / 385.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.009354, allocations: 261.8 kB / 385.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.289e-05/0.009376, allocations: 67.84 kB / 385.9 MB, free: 16.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.325e-05/0.00942, allocations: 13.48 kB / 385.9 MB, free: 16.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.428e-05/0.009484, allocations: 98.17 kB / 386 MB, free: 16.6 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.009485, allocations: 4 kB / 386 MB, free: 16.59 MB / 314.7 MB Notification: Performance of Templates: time 0.003703/0.01319, allocations: 2.28 MB / 388.3 MB, free: 14.36 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.1784826358780265]