Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.001549/0.001549, allocations: 74.66 kB / 19.93 MB, free: 1.781 MB / 14.72 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.001639/0.001639, allocations: 165.2 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2104/0.2104, allocations: 32.38 MB / 269.6 MB, free: 4.676 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 407.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.369e-05, allocations: 4.953 kB / 407.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003226/0.00326, allocations: 1.639 MB / 409.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.004748, allocations: 0.7646 MB / 409.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.004817, allocations: 0 / 409.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.005175, allocations: 87.69 kB / 409.9 MB, free: 432 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.005431, allocations: 71.67 kB / 410 MB, free: 360 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.005681, allocations: 91.06 kB / 410.1 MB, free: 272 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.005909, allocations: 103.6 kB / 410.2 MB, free: 168 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.115e-05/0.00596, allocations: 7.938 kB / 410.2 MB, free: 160 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.006076, allocations: 63.83 kB / 410.3 MB, free: 96 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.006184, allocations: 47.88 kB / 410.3 MB, free: 48 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.006209, allocations: 4 kB / 410.3 MB, free: 44 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.878e-05/0.006298, allocations: 35.92 kB / 410.3 MB, free: 8 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.697e-05/0.006375, allocations: 23.91 kB / 410.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.006425, allocations: 15.94 kB / 410.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.006628, allocations: 107.6 kB / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.006631, allocations: 3.938 kB / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006632, allocations: 0 / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.00664, allocations: 0 / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006978/0.007338, allocations: 337.6 kB / 410.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.007374, allocations: 16.03 kB / 410.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.007424, allocations: 12.88 kB / 410.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.00768, allocations: 141.6 kB / 411 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.007693, allocations: 4.359 kB / 411 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.007712, allocations: 4.375 kB / 411 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.007905, allocations: 54.17 kB / 411 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.007916, allocations: 3.938 kB / 411.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.007925, allocations: 0 / 411.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.007931, allocations: 3.984 kB / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.457e-05/0.008006, allocations: 19.98 kB / 411.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.008192, allocations: 133.3 kB / 411.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.00837, allocations: 50.62 kB / 411.3 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.008431, allocations: 20.84 kB / 411.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.008446, allocations: 0 / 411.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.008593, allocations: 67.33 kB / 411.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.008595, allocations: 0 / 411.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003253/0.00892, allocations: 109.5 kB / 411.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.008964, allocations: 55.41 kB / 411.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.009199, allocations: 219.3 kB / 411.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.009223, allocations: 29.7 kB / 411.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.009293, allocations: 104 kB / 411.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.215e-05/0.009385, allocations: 15.94 kB / 411.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.009424, allocations: 17.72 kB / 411.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.009577, allocations: 322.8 kB / 412.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.476e-05/0.009632, allocations: 15.98 kB / 412.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.241e-05/0.009694, allocations: 29.72 kB / 412.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.009803, allocations: 45.7 kB / 412.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.009804, allocations: 4 kB / 412.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001822/0.009987, allocations: 89.52 kB / 412.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.01, allocations: 4 kB / 412.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.01001, allocations: 3.938 kB / 412.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.01003, allocations: 0 / 412.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/0.01011, allocations: 12 kB / 412.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.01012, allocations: 0 / 412.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/0.01017, allocations: 7.984 kB / 412.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.01017, allocations: 4 kB / 412.4 MB, free: 13.76 MB / 350.1 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 (7): * Single equations (assignments): 7 * 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 0.0001158/0.01029, allocations: 136 kB / 412.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.01031, allocations: 11.91 kB / 412.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.01054, allocations: 106.6 kB / 412.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01055, allocations: 0 / 412.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01055, allocations: 0 / 412.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.01055, allocations: 0 / 412.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.0107, allocations: 133.3 kB / 412.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.0107, allocations: 384 / 412.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.01073, allocations: 4 kB / 412.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01073, allocations: 0 / 412.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.01074, allocations: 16 kB / 412.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01074, allocations: 4.094 kB / 412.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01075, allocations: 0 / 412.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.01095, allocations: 117 kB / 412.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.01097, allocations: 7.953 kB / 412.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.011, allocations: 7.984 kB / 412.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.01104, allocations: 3.938 kB / 412.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.01108, allocations: 4 kB / 412.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.0111, allocations: 7.984 kB / 413 MB, free: 13.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.01125, allocations: 159.2 kB / 413.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01125, allocations: 3.938 kB / 413.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.01148, allocations: 20 kB / 413.1 MB, free: 12.97 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00168/0.01316, allocations: 444.2 kB / 413.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.01334, allocations: 47.91 kB / 413.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01335, allocations: 0 / 413.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.76e-05/0.01341, allocations: 20 kB / 413.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.01369, allocations: 23.97 kB / 413.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.01417, allocations: 237 kB / 413.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.947e-05/0.01427, allocations: 88.31 kB / 414 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.504e-05/0.01432, allocations: 12.48 kB / 414 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.01436, allocations: 16.5 kB / 414 MB, free: 12.14 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01436, allocations: 0 / 414 MB, free: 12.14 MB / 350.1 MB Notification: Performance of Templates: time 0.005168/0.01953, allocations: 1.597 MB / 415.6 MB, free: 10.56 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.123334012925625]