Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0007784/0.0007784, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.001947, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008053/0.0008053, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.001886, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.124/1.124, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1048/1.229, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2453/0.2453, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05178/0.297, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.659e-05, allocations: 6.312 kB / 292.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003658/0.003685, allocations: 1.999 MB / 294.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.00549, allocations: 1.059 MB / 295.8 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.005614, allocations: 0 / 295.8 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.005894, allocations: 51.58 kB / 295.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.006235, allocations: 99.41 kB / 295.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.00657, allocations: 99.58 kB / 296 MB, free: 2.891 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.00686, allocations: 139.6 kB / 296.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.006988, allocations: 26.44 kB / 296.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.00722, allocations: 121.9 kB / 296.3 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.007347, allocations: 31.91 kB / 296.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.007372, allocations: 8 kB / 296.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.007498, allocations: 43.97 kB / 296.4 MB, free: 2.527 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.007563, allocations: 27.88 kB / 296.4 MB, free: 2.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.272e-05/0.007616, allocations: 23.94 kB / 296.4 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.007902, allocations: 123.5 kB / 296.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.226e-05/0.007925, allocations: 3.938 kB / 296.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.007926, allocations: 0 / 296.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.514e-05/0.007951, allocations: 3.984 kB / 296.6 MB, free: 2.348 MB / 282.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.001042/0.008993, allocations: 406.5 kB / 296.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.00905, allocations: 8.031 kB / 297 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.544e-05/0.009126, allocations: 16.92 kB / 297 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.009425, allocations: 166.3 kB / 297.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.009455, allocations: 12.36 kB / 297.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.009481, allocations: 4.375 kB / 297.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.009734, allocations: 137.9 kB / 297.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.009747, allocations: 3.938 kB / 297.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.009761, allocations: 0 / 297.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.00977, allocations: 4 kB / 297.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.46e-05/0.009835, allocations: 22.75 kB / 297.3 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.01034, allocations: 382 kB / 297.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.01058, allocations: 101.3 kB / 297.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.01062, allocations: 24.84 kB / 297.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.01063, allocations: 0 / 297.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.01079, allocations: 99.84 kB / 297.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.01079, allocations: 0 / 297.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001757/0.01097, allocations: 65.67 kB / 298 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.011, allocations: 63.33 kB / 298 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.01118, allocations: 189.6 kB / 298.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.0112, allocations: 29.7 kB / 298.3 MB, free: 480 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.01126, allocations: 107.9 kB / 298.4 MB, free: 368 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.0113, allocations: 31.73 kB / 298.4 MB, free: 336 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.01135, allocations: 33.69 kB / 298.4 MB, free: 296 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.01148, allocations: 330.7 kB / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.278e-05/0.01151, allocations: 14.81 kB / 298.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.948e-05/0.01156, allocations: 41.8 kB / 298.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.534e-05/0.01166, allocations: 81.88 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.01166, allocations: 4 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001524/0.01181, allocations: 88.36 kB / 299 MB, free: 15.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.01183, allocations: 8 kB / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01184, allocations: 0 / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.01186, allocations: 4 kB / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.01196, allocations: 27.92 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.01197, allocations: 0 / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.01203, allocations: 16.08 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.01204, allocations: 4 kB / 299 MB, free: 15.63 MB / 298.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 9.612e-05/0.01214, allocations: 130.4 kB / 299.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.01216, allocations: 11.98 kB / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.01231, allocations: 71.14 kB / 299.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01231, allocations: 4 kB / 299.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01231, allocations: 0 / 299.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.01232, allocations: 3.984 kB / 299.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.01244, allocations: 93.8 kB / 299.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.01245, allocations: 3.938 kB / 299.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.294e-05/0.01254, allocations: 27.92 kB / 299.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.01256, allocations: 11.91 kB / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01256, allocations: 0 / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.01258, allocations: 4 kB / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01258, allocations: 0 / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.01258, allocations: 0 / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.01277, allocations: 123.2 kB / 299.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.01279, allocations: 0 / 299.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.897e-05/0.01284, allocations: 11.98 kB / 299.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.01287, allocations: 4 kB / 299.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.01288, allocations: 11.95 kB / 299.5 MB, free: 15.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.185e-05/0.01296, allocations: 53.42 kB / 299.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01296, allocations: 4 kB / 299.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002295/0.01319, allocations: 31.89 kB / 299.6 MB, free: 14.99 MB / 298.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.001943/0.01513, allocations: 0.5472 MB / 300.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001538/0.01528, allocations: 56.7 kB / 300.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/0.0153, allocations: 8.234 kB / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.792e-05/0.01535, allocations: 24.86 kB / 300.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.01558, allocations: 51.91 kB / 300.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007128/0.0163, allocations: 249.8 kB / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.24e-05/0.01635, allocations: 71.83 kB / 300.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.561e-05/0.01642, allocations: 17.48 kB / 300.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.01655, allocations: 87.28 kB / 300.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of SimCode: time 1.362e-06/0.01655, allocations: 0 / 300.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of Templates: time 0.004564/0.02111, allocations: 2.233 MB / 303 MB, free: 11.94 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.0225062081590295]