Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.001574/0.001574, allocations: 74.97 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.002123/0.002123, allocations: 164.9 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.542/1.542, allocations: 158.6 MB / 185 MB, free: 6.398 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.2083/0.2083, allocations: 32.37 MB / 269.6 MB, free: 4.77 MB / 254.1 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 407.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.626e-05/3.861e-05, allocations: 2.281 kB / 407.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003918/0.003957, allocations: 1.799 MB / 409.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.005898, allocations: 0.862 MB / 410.1 MB, free: 272 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.006029, allocations: 3.938 kB / 410.1 MB, free: 268 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006896/0.006719, allocations: 231.2 kB / 410.3 MB, free: 36 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005258/0.007245, allocations: 167.4 kB / 410.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.007731, allocations: 147.5 kB / 410.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.008098, allocations: 247.2 kB / 410.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.008219, allocations: 5.812 kB / 410.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.008433, allocations: 135.6 kB / 411 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.008676, allocations: 151.7 kB / 411.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.008712, allocations: 8 kB / 411.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.008851, allocations: 43.92 kB / 411.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.008962, allocations: 63.77 kB / 411.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.15e-05/0.009053, allocations: 43.73 kB / 411.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.009409, allocations: 215.2 kB / 411.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.009414, allocations: 0 / 411.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.009416, allocations: 0 / 411.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.009422, allocations: 4 kB / 411.5 MB, free: 14.83 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.00084/0.01026, allocations: 480.5 kB / 412 MB, free: 14.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.0103, allocations: 8.031 kB / 412 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/0.01037, allocations: 28.75 kB / 412 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.0108, allocations: 221.8 kB / 412.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.01082, allocations: 4.359 kB / 412.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.01086, allocations: 8.328 kB / 412.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.01112, allocations: 99.86 kB / 412.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.01114, allocations: 7.938 kB / 412.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.01115, allocations: 7.984 kB / 412.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.01116, allocations: 0 / 412.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.01135, allocations: 43.91 kB / 412.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.01189, allocations: 376.8 kB / 412.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.01221, allocations: 125.2 kB / 412.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.785e-05/0.0123, allocations: 37.7 kB / 413 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.01233, allocations: 4 kB / 413 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.01257, allocations: 124.9 kB / 413.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.01257, allocations: 0 / 413.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001086/0.01365, allocations: 380.6 kB / 413.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.01373, allocations: 89.05 kB / 413.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.01421, allocations: 432.5 kB / 414 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.01424, allocations: 29.7 kB / 414 MB, free: 12.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.01436, allocations: 152.4 kB / 414.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.326e-05/0.01442, allocations: 59.52 kB / 414.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.01449, allocations: 33.7 kB / 414.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.01466, allocations: 346.8 kB / 414.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.01478, allocations: 43.97 kB / 414.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.0149, allocations: 71.41 kB / 414.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.01515, allocations: 131.5 kB / 414.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01515, allocations: 4 kB / 414.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003502/0.0155, allocations: 181.4 kB / 415 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.01552, allocations: 8 kB / 415 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.01552, allocations: 0 / 415 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.01554, allocations: 7.938 kB / 415 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.01569, allocations: 31.92 kB / 415 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.0157, allocations: 8.062 kB / 415 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.359e-05/0.01578, allocations: 11.98 kB / 415.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.0158, allocations: 4 kB / 415.1 MB, free: 11.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001738/0.01597, allocations: 177.6 kB / 415.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.01602, allocations: 27.81 kB / 415.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004838/0.0165, allocations: 212.4 kB / 415.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.01651, allocations: 0 / 415.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.01651, allocations: 0 / 415.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.01652, allocations: 7.984 kB / 415.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008247/0.01735, allocations: 0.5848 MB / 416.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.01735, allocations: 0.75 kB / 416.1 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.511e-05/0.01742, allocations: 23.92 kB / 416.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.01743, allocations: 4 kB / 416.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.01745, allocations: 4 kB / 416.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01745, allocations: 0 / 416.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.01746, allocations: 7.938 kB / 416.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.01796, allocations: 392.1 kB / 416.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.018, allocations: 31.88 kB / 416.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.01804, allocations: 4 kB / 416.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.01818, allocations: 11.98 kB / 416.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.01826, allocations: 11.92 kB / 416.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.01829, allocations: 15.98 kB / 416.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003614/0.01865, allocations: 319 kB / 416.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01865, allocations: 0 / 416.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003531/0.01901, allocations: 47.92 kB / 416.9 MB, free: 9.125 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002008/0.02101, allocations: 0.4964 MB / 417.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003368/0.02135, allocations: 111.9 kB / 417.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02135, allocations: 0 / 417.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.02152, allocations: 60.17 kB / 417.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005866/0.02211, allocations: 65.94 kB / 417.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.02311, allocations: 0.4978 MB / 418.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.02332, allocations: 152.8 kB / 418.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.822e-05/0.02341, allocations: 37.59 kB / 418.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.02347, allocations: 24.5 kB / 418.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.02347, allocations: 0 / 418.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of Templates: time 0.008697/0.03217, allocations: 2.908 MB / 421.3 MB, free: 4.832 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.232824701815844]