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.00131/0.00131, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001397/0.001397, allocations: 170.8 kB / 24.82 MB, free: 9.332 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 0.9762/0.9762, allocations: 177.1 MB / 205.3 MB, free: 5.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.2538/0.2538, allocations: 32.81 MB / 294.6 MB, free: 1.156 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.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.533e-06/1.533e-06, allocations: 0 / 376.5 MB, free: 4.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.461e-05, allocations: 9.344 kB / 376.6 MB, free: 4.281 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002804/0.002828, allocations: 1.947 MB / 378.5 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.004096, allocations: 1.032 MB / 379.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.004197, allocations: 7.938 kB / 379.5 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.004499, allocations: 43.64 kB / 379.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.004776, allocations: 95.42 kB / 379.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.00496, allocations: 95.64 kB / 379.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.005136, allocations: 155.5 kB / 379.9 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.00524, allocations: 17.8 kB / 379.9 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.005342, allocations: 83.73 kB / 380 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.251e-05/0.005424, allocations: 39.83 kB / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.005441, allocations: 8 kB / 380.1 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.123e-05/0.005522, allocations: 47.92 kB / 380.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.902e-05/0.005571, allocations: 27.84 kB / 380.1 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.005611, allocations: 27.92 kB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.005797, allocations: 135.4 kB / 380.3 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.0058, allocations: 3.938 kB / 380.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005801, allocations: 4 kB / 380.3 MB, free: 0.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.005805, allocations: 0 / 380.3 MB, free: 0.5 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004719/0.006277, allocations: 0.4967 MB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.006313, allocations: 12.03 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.00636, allocations: 20.84 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.00654, allocations: 173.1 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.006558, allocations: 8.312 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.006578, allocations: 8.375 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.006739, allocations: 136.4 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.006747, allocations: 0 / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.006756, allocations: 8 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.006763, allocations: 3.938 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.701e-05/0.0068, allocations: 31.92 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.00718, allocations: 0.5527 MB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.007334, allocations: 63.16 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.618e-05/0.007361, allocations: 27.61 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.007376, allocations: 0 / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.007486, allocations: 102.7 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.007487, allocations: 0 / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000169/0.007656, allocations: 105.5 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.007679, allocations: 55.41 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.007806, allocations: 250.9 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.007819, allocations: 25.7 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.007884, allocations: 166.7 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.007906, allocations: 35.72 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.007941, allocations: 31.36 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.008051, allocations: 0.5001 MB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.008071, allocations: 8 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.91e-05/0.008111, allocations: 54.42 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.89e-05/0.008179, allocations: 86.34 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.008181, allocations: 3.938 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001148/0.008296, allocations: 113.4 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.00831, allocations: 8 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.008315, allocations: 0 / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.008327, allocations: 8.125 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.008391, allocations: 19.98 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.008394, allocations: 0 / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.532e-05/0.008429, allocations: 15.89 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.008435, allocations: 4 kB / 383.4 MB, free: 13.11 MB / 362.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 6.866e-05/0.008503, allocations: 160.5 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.008524, allocations: 31.83 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.008649, allocations: 99.06 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.008651, allocations: 4 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.008652, allocations: 0 / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.008656, allocations: 4 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.08e-05/0.008747, allocations: 133.2 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.008748, allocations: 0 / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.008793, allocations: 8 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.008796, allocations: 7.938 kB / 383.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.008804, allocations: 0 / 383.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.008805, allocations: 0 / 383.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008806, allocations: 0 / 383.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.008944, allocations: 152.8 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.008961, allocations: 19.83 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.009207, allocations: 11.95 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.993e-05/0.009237, allocations: 8 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.009262, allocations: 11.92 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.009274, allocations: 7.938 kB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.384e-05/0.009338, allocations: 167.1 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.009338, allocations: 0 / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001475/0.009486, allocations: 24 kB / 384.2 MB, free: 12.21 MB / 362.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.0007521/0.01024, allocations: 390 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.423e-05/0.01033, allocations: 51.59 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01033, allocations: 0 / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.657e-05/0.01037, allocations: 35.59 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.01056, allocations: 56.03 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.01086, allocations: 250 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.721e-05/0.0109, allocations: 75.77 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.957e-05/0.01094, allocations: 13.48 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/0.01102, allocations: 94.19 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01102, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of Templates: time 0.003858/0.01488, allocations: 2.246 MB / 387.4 MB, free: 9.141 MB / 362.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: 2.8893180550076067]