Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.0007837/0.0007837, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.0007733/0.0007733, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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 0.7881/0.7881, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1287/0.1287, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 408.2 MB, free: 1.664 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.351e-05, allocations: 6.078 kB / 408.2 MB, free: 1.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002115/0.002138, allocations: 1.68 MB / 409.9 MB, free: 15.96 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009316/0.00307, allocations: 0.7765 MB / 410.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.003141, allocations: 3.938 kB / 410.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.003463, allocations: 47.81 kB / 410.7 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.003661, allocations: 55.7 kB / 410.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.003833, allocations: 83.7 kB / 410.8 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.004231, allocations: 103.6 kB / 410.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.746e-05/0.004318, allocations: 8.234 kB / 410.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.855e-05/0.004387, allocations: 51.77 kB / 411 MB, free: 14.83 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.549e-05/0.004452, allocations: 27.91 kB / 411 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.00447, allocations: 4 kB / 411 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.606e-05/0.004536, allocations: 47.92 kB / 411.1 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.004582, allocations: 19.91 kB / 411.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.004617, allocations: 15.94 kB / 411.1 MB, free: 14.72 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.004785, allocations: 115.6 kB / 411.2 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004787, allocations: 0 / 411.2 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004788, allocations: 3.938 kB / 411.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.004793, allocations: 0 / 411.2 MB, free: 14.6 MB / 394.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.0004216/0.005214, allocations: 337.7 kB / 411.5 MB, free: 14.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.005252, allocations: 8.031 kB / 411.6 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.005295, allocations: 12.84 kB / 411.6 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.005483, allocations: 154.2 kB / 411.7 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.005493, allocations: 384 / 411.7 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.005515, allocations: 8.375 kB / 411.7 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.005629, allocations: 58.22 kB / 411.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.00564, allocations: 3.938 kB / 411.8 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.00565, allocations: 4 kB / 411.8 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.005654, allocations: 0 / 411.8 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.011e-05/0.005704, allocations: 19.98 kB / 411.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.005959, allocations: 224.6 kB / 412 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.006065, allocations: 58.62 kB / 412.1 MB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.345e-05/0.006099, allocations: 28.78 kB / 412.1 MB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.00611, allocations: 0 / 412.1 MB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.903e-05/0.006209, allocations: 67.39 kB / 412.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 6.71e-07/0.00621, allocations: 0 / 412.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003759/0.006586, allocations: 197.2 kB / 412.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.006615, allocations: 51.41 kB / 412.4 MB, free: 13.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.006733, allocations: 190.2 kB / 412.6 MB, free: 13.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.006744, allocations: 25.7 kB / 412.6 MB, free: 13.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.006785, allocations: 108.1 kB / 412.7 MB, free: 12.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.006808, allocations: 27.83 kB / 412.8 MB, free: 12.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.006838, allocations: 25.66 kB / 412.8 MB, free: 12.87 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.267e-05/0.00691, allocations: 322.8 kB / 413.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.496e-05/0.006945, allocations: 23.98 kB / 413.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/0.006983, allocations: 37.7 kB / 413.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.319e-05/0.007056, allocations: 65.64 kB / 413.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.007057, allocations: 0 / 413.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000108/0.007165, allocations: 97.53 kB / 413.3 MB, free: 12.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.007178, allocations: 16.02 kB / 413.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.007184, allocations: 160 / 413.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.007195, allocations: 0 / 413.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.00726, allocations: 16 kB / 413.4 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.007267, allocations: 8.109 kB / 413.4 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.007294, allocations: 4 kB / 413.4 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.007302, allocations: 11.92 kB / 413.4 MB, free: 12.25 MB / 394.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 7.245e-05/0.007375, allocations: 125.7 kB / 413.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.007386, allocations: 11.95 kB / 413.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.007547, allocations: 126.4 kB / 413.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.00755, allocations: 0 / 413.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.007556, allocations: 7.969 kB / 413.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.00756, allocations: 0 / 413.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.007836, allocations: 347.3 kB / 414 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.007837, allocations: 4 kB / 414 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.253e-05/0.00786, allocations: 12 kB / 414 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.007863, allocations: 3.984 kB / 414 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.007873, allocations: 4 kB / 414 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.007874, allocations: 0 / 414 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.007875, allocations: 4.031 kB / 414 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.00802, allocations: 212.2 kB / 414.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.008032, allocations: 11.91 kB / 414.2 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.00805, allocations: 7.984 kB / 414.2 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.794e-05/0.008087, allocations: 7.938 kB / 414.2 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.008121, allocations: 3.984 kB / 414.3 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.008133, allocations: 4 kB / 414.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.783e-05/0.008211, allocations: 152 kB / 414.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008211, allocations: 0 / 414.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.008376, allocations: 24 kB / 414.4 MB, free: 11.13 MB / 394.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.0007227/0.009099, allocations: 492.9 kB / 414.9 MB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.009227, allocations: 63.91 kB / 415 MB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009228, allocations: 0 / 415 MB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.157e-05/0.00927, allocations: 28.05 kB / 415 MB, free: 10.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.009494, allocations: 27.98 kB / 415 MB, free: 10.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.009855, allocations: 252.4 kB / 415.3 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.353e-05/0.009929, allocations: 92.31 kB / 415.4 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.009959, allocations: 20.48 kB / 415.4 MB, free: 10.14 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.009959, allocations: 0 / 415.4 MB, free: 10.14 MB / 394.7 MB Notification: Performance of Templates: time 0.002729/0.01269, allocations: 1.968 MB / 417.4 MB, free: 8.172 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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: 4.597888712771237]