Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006583/0.006583, allocations: 100.8 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 195.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.1 MB / 222.7 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5115/0.5115, allocations: 43.5 MB / 313.5 MB, free: 8.273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00202/0.002021, allocations: 62.56 kB / 382 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1935, allocations: 57.78 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004298/0.1978, allocations: 2.348 MB / 442.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.2, allocations: 1.162 MB / 443.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.2001, allocations: 7.938 kB / 443.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000743/0.2009, allocations: 275.3 kB / 443.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005172/0.2015, allocations: 243.1 kB / 443.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009567/0.2024, allocations: 311.4 kB / 444.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008365/0.2033, allocations: 494.5 kB / 444.6 MB, free: 9.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.2035, allocations: 57.34 kB / 444.7 MB, free: 9.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003858/0.2039, allocations: 219 kB / 444.9 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003678/0.2043, allocations: 254.9 kB / 445.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.069e-05/0.2044, allocations: 12 kB / 445.2 MB, free: 9.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.2046, allocations: 51.97 kB / 445.2 MB, free: 9.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.2047, allocations: 103.6 kB / 445.3 MB, free: 9.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.2049, allocations: 166.7 kB / 445.5 MB, free: 8.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000518/0.2055, allocations: 378.5 kB / 445.9 MB, free: 8.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.2055, allocations: 0 / 445.9 MB, free: 8.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2055, allocations: 0 / 445.9 MB, free: 8.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.2055, allocations: 0 / 445.9 MB, free: 8.531 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001572/0.2071, allocations: 0.7591 MB / 446.6 MB, free: 7.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.2071, allocations: 16.03 kB / 446.6 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.2073, allocations: 56.27 kB / 446.7 MB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005967/0.2079, allocations: 403.9 kB / 447.1 MB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.2079, allocations: 8.359 kB / 447.1 MB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.2079, allocations: 16.12 kB / 447.1 MB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005351/0.2085, allocations: 222.5 kB / 447.3 MB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.2085, allocations: 0 / 447.3 MB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.2085, allocations: 8 kB / 447.3 MB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2085, allocations: 0 / 447.3 MB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002659/0.2088, allocations: 99.86 kB / 447.4 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009817/0.2098, allocations: 0.8565 MB / 448.3 MB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007417/0.2106, allocations: 293.3 kB / 448.6 MB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.2108, allocations: 100.2 kB / 448.7 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.352e-05/0.2108, allocations: 4 kB / 448.7 MB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005762/0.2114, allocations: 223.5 kB / 448.9 MB, free: 5.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.323e-06/0.2114, allocations: 0 / 448.9 MB, free: 5.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002475/0.2139, allocations: 0.9768 MB / 449.9 MB, free: 4.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.214, allocations: 174.1 kB / 450 MB, free: 4.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008961/0.2149, allocations: 0.6121 MB / 450.6 MB, free: 3.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.215, allocations: 37.7 kB / 450.7 MB, free: 3.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.2152, allocations: 221 kB / 450.9 MB, free: 3.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.2154, allocations: 114.4 kB / 451 MB, free: 3.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.2155, allocations: 78.12 kB / 451.1 MB, free: 2.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.2158, allocations: 362.8 kB / 451.4 MB, free: 2.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.216, allocations: 108.8 kB / 451.5 MB, free: 2.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.2163, allocations: 176.9 kB / 451.7 MB, free: 2.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.2168, allocations: 300.8 kB / 452 MB, free: 1.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2168, allocations: 0 / 452 MB, free: 1.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007056/0.2175, allocations: 404.5 kB / 452.4 MB, free: 1.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.2176, allocations: 4 kB / 452.4 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.2176, allocations: 7.984 kB / 452.4 MB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.2176, allocations: 4 kB / 452.4 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.2179, allocations: 80.28 kB / 452.5 MB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.2179, allocations: 7.938 kB / 452.5 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.2181, allocations: 32.08 kB / 452.5 MB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.2182, allocations: 16 kB / 452.6 MB, free: 1.414 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002443/0.2184, allocations: 212.3 kB / 452.8 MB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.803e-05/0.2185, allocations: 63.17 kB / 452.8 MB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.2187, allocations: 68.28 kB / 452.9 MB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.2187, allocations: 4 kB / 452.9 MB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.2187, allocations: 7.938 kB / 452.9 MB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2187, allocations: 0 / 452.9 MB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3732/0.5919, allocations: 1.258 MB / 454.2 MB, free: 48.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.592, allocations: 5.969 kB / 454.2 MB, free: 48.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.5922, allocations: 47.16 kB / 454.2 MB, free: 48.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/0.5922, allocations: 5.969 kB / 454.2 MB, free: 48.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.5922, allocations: 16.44 kB / 454.2 MB, free: 48.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.515e-05/0.5923, allocations: 7.359 kB / 454.2 MB, free: 48.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.5923, allocations: 4.75 kB / 454.2 MB, free: 48.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.5934, allocations: 0.8065 MB / 455.1 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.5935, allocations: 122.3 kB / 455.2 MB, free: 48.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.324e-05/0.5936, allocations: 19.69 kB / 455.2 MB, free: 48.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.5939, allocations: 16.25 kB / 455.2 MB, free: 48.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.594, allocations: 43.27 kB / 455.3 MB, free: 48.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.5941, allocations: 20.75 kB / 455.3 MB, free: 48.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005546/0.5947, allocations: 462.1 kB / 455.7 MB, free: 47.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5947, allocations: 0 / 455.7 MB, free: 47.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006147/0.5953, allocations: 77.52 kB / 455.8 MB, free: 47.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001408/0.5967, allocations: 488.3 kB / 456.3 MB, free: 47.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006919/0.5974, allocations: 290.4 kB / 456.6 MB, free: 47.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5974, allocations: 0 / 456.6 MB, free: 47.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000285/0.5977, allocations: 154.2 kB / 456.7 MB, free: 47.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.5988, allocations: 133 kB / 456.8 MB, free: 47.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.6003, allocations: 0.9921 MB / 457.8 MB, free: 47.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.6007, allocations: 0.8518 MB / 458.7 MB, free: 46.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002679/0.6009, allocations: 81.64 kB / 458.8 MB, free: 46.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.6011, allocations: 59.7 kB / 458.8 MB, free: 46.49 MB / 382.1 MB Notification: Performance of SimCode: time 2.144e-06/0.6011, allocations: 0 / 458.8 MB, free: 46.49 MB / 382.1 MB Notification: Performance of Templates: time 0.01103/0.6121, allocations: 5.348 MB / 464.2 MB, free: 46.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches