Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001419/0.001419, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001798/0.001798, allocations: 173.3 kB / 25.61 MB, free: 8.875 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.012/1.012, allocations: 177.1 MB / 206 MB, free: 4.508 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.1607/0.1607, allocations: 32.8 MB / 295.4 MB, free: 15.39 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.308e-05, allocations: 2.312 kB / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.001847/0.00186, allocations: 1.75 MB / 379.1 MB, free: 23.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.002832, allocations: 0.9897 MB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.002896, allocations: 0 / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.00313, allocations: 43.77 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.003365, allocations: 103.4 kB / 380.2 MB, free: 22.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.003506, allocations: 79.59 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.003636, allocations: 107.6 kB / 380.4 MB, free: 22.44 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.98e-05/0.003716, allocations: 4 kB / 380.4 MB, free: 22.44 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.596e-05/0.003782, allocations: 55.83 kB / 380.5 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.109e-05/0.003843, allocations: 27.91 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.003855, allocations: 4 kB / 380.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.405e-05/0.003919, allocations: 47.91 kB / 380.6 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.718e-05/0.003957, allocations: 23.86 kB / 380.6 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.003981, allocations: 19.94 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.004112, allocations: 99.59 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.004114, allocations: 0 / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.9e-07/0.004114, allocations: 0 / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.004117, allocations: 0 / 380.7 MB, free: 22.16 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002886/0.004406, allocations: 447.8 kB / 381.1 MB, free: 21.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.004433, allocations: 15.98 kB / 381.1 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.004462, allocations: 8.891 kB / 381.2 MB, free: 21.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.004564, allocations: 152.4 kB / 381.3 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.004578, allocations: 4.375 kB / 381.3 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.004592, allocations: 12.33 kB / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.533e-05/0.004667, allocations: 62.88 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.004676, allocations: 3.938 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.004683, allocations: 4 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.004689, allocations: 3.984 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.062e-05/0.004709, allocations: 8 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.004883, allocations: 248.5 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.946e-05/0.004952, allocations: 63.06 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.673e-05/0.004969, allocations: 11.69 kB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.004978, allocations: 8 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.193e-05/0.00505, allocations: 68.98 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.005051, allocations: 0 / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002625/0.005314, allocations: 137.5 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.665e-05/0.00533, allocations: 55.39 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/0.005397, allocations: 219.2 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-06/0.005404, allocations: 25.7 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.854e-05/0.005432, allocations: 154.8 kB / 382.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.005451, allocations: 19.84 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.005475, allocations: 31.36 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.237e-05/0.005518, allocations: 0.504 MB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.005531, allocations: 7.938 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.003e-05/0.005551, allocations: 31.36 kB / 383 MB, free: 19.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.556e-05/0.005586, allocations: 43.34 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.005587, allocations: 0 / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.179e-05/0.005659, allocations: 93.47 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.005668, allocations: 4 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.005672, allocations: 0 / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.005681, allocations: 4.031 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/0.005732, allocations: 19.98 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.005735, allocations: 160 / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.005761, allocations: 8.312 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.005766, allocations: 3.984 kB / 383.1 MB, free: 19.5 MB / 314.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 4.639e-05/0.005812, allocations: 164.5 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.005826, allocations: 19.84 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.837e-05/0.005925, allocations: 107.1 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.005927, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.005928, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.005931, allocations: 4 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.00611, allocations: 369.5 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006111, allocations: 0 / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.006132, allocations: 8 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.006133, allocations: 0 / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.006139, allocations: 4 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.00614, allocations: 0 / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006141, allocations: 0 / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.444e-05/0.006225, allocations: 251.7 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-06/0.006234, allocations: 15.92 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.006249, allocations: 12.03 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.609e-05/0.006285, allocations: 0 / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.006304, allocations: 7.984 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.006314, allocations: 4 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.006349, allocations: 164.1 kB / 384.2 MB, free: 18.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006349, allocations: 0 / 384.2 MB, free: 18.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.006508, allocations: 23.98 kB / 384.3 MB, free: 18.29 MB / 314.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.0008046/0.007313, allocations: 434.9 kB / 384.7 MB, free: 18.03 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.849e-05/0.007391, allocations: 51.55 kB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.007393, allocations: 0 / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.649e-05/0.007419, allocations: 31.66 kB / 384.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.007624, allocations: 50.92 kB / 384.8 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/0.007841, allocations: 216.1 kB / 385 MB, free: 17.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.27e-05/0.007864, allocations: 71.2 kB / 385.1 MB, free: 17.56 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.889e-05/0.007892, allocations: 12.97 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.007948, allocations: 94.31 kB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.007948, allocations: 0 / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of Templates: time 0.002863/0.01081, allocations: 2.059 MB / 387.3 MB, free: 15.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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.3604240766726434]