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.001252/0.001252, allocations: 103.5 kB / 17.03 MB, free: 5.66 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.001248/0.001248, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.812/1.812, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2764/0.2764, allocations: 43.53 MB / 314.7 MB, free: 468 kB / 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.002227/0.002227, allocations: 76.09 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1929, allocations: 57.78 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.005058/0.1981, allocations: 2.307 MB / 444.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.2004, allocations: 1.174 MB / 445.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.2006, allocations: 7.938 kB / 445.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.2013, allocations: 283.1 kB / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005092/0.2018, allocations: 270.9 kB / 446 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007745/0.2026, allocations: 330.5 kB / 446.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004753/0.2031, allocations: 0.5102 MB / 446.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.2033, allocations: 57 kB / 446.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.2035, allocations: 235 kB / 447.1 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.2038, allocations: 255 kB / 447.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.2039, allocations: 20 kB / 447.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.204, allocations: 55.98 kB / 447.4 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.2041, allocations: 107.5 kB / 447.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.2043, allocations: 182.7 kB / 447.7 MB, free: 360 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.2047, allocations: 390.5 kB / 448.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2048, allocations: 0 / 448.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2048, allocations: 0 / 448.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.2048, allocations: 0 / 448.1 MB, free: 15.97 MB / 334.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.001338/0.2061, allocations: 0.7591 MB / 448.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.2062, allocations: 11.89 kB / 448.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.2063, allocations: 60.22 kB / 448.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007295/0.2071, allocations: 400 kB / 449.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.2071, allocations: 8.375 kB / 449.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.2072, allocations: 20.11 kB / 449.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.2076, allocations: 201.8 kB / 449.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.2077, allocations: 7.938 kB / 449.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.2077, allocations: 7.984 kB / 449.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.2077, allocations: 7.938 kB / 449.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002691/0.208, allocations: 95.88 kB / 449.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.2093, allocations: 0.8643 MB / 450.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006921/0.21, allocations: 293.2 kB / 450.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.2102, allocations: 92.27 kB / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.355e-05/0.2103, allocations: 7.984 kB / 450.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000478/0.2107, allocations: 228.7 kB / 451.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.724e-06/0.2108, allocations: 0 / 451.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002271/0.213, allocations: 0.9835 MB / 452.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.2132, allocations: 166.2 kB / 452.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008436/0.2141, allocations: 0.6121 MB / 452.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/0.2141, allocations: 41.69 kB / 452.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.2143, allocations: 217 kB / 453.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.2145, allocations: 122.4 kB / 453.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.2147, allocations: 74.12 kB / 453.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002531/0.2149, allocations: 362.8 kB / 453.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.2152, allocations: 108.8 kB / 453.8 MB, free: 9.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.2155, allocations: 180.8 kB / 454 MB, free: 9.715 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006011/0.2161, allocations: 296.8 kB / 454.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2162, allocations: 0 / 454.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008021/0.217, allocations: 412.5 kB / 454.7 MB, free: 8.984 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.217, allocations: 5.25 kB / 454.7 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.217, allocations: 4 kB / 454.7 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/0.2171, allocations: 4 kB / 454.7 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.2174, allocations: 83.83 kB / 454.8 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.2175, allocations: 4 kB / 454.8 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.2177, allocations: 29.64 kB / 454.8 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.2177, allocations: 16 kB / 454.8 MB, free: 8.844 MB / 334.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.0003578/0.2181, allocations: 200.4 kB / 455 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2182, allocations: 59.19 kB / 455.1 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.2184, allocations: 67.91 kB / 455.1 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.2184, allocations: 4 kB / 455.1 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.937e-05/0.2184, allocations: 7.984 kB / 455.1 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.2184, allocations: 3.938 kB / 455.2 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.2204, allocations: 1.261 MB / 456.4 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2204, allocations: 160 / 456.4 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.2206, allocations: 55.91 kB / 456.5 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.2206, allocations: 4 kB / 456.5 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.2206, allocations: 15.94 kB / 456.5 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.2207, allocations: 11.98 kB / 456.5 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.2207, allocations: 7.938 kB / 456.5 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.2218, allocations: 0.8047 MB / 457.3 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.2219, allocations: 116.5 kB / 457.4 MB, free: 6.094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/0.222, allocations: 31.86 kB / 457.5 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.2223, allocations: 19.97 kB / 457.5 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.2224, allocations: 27.97 kB / 457.5 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.424e-05/0.2224, allocations: 27.98 kB / 457.5 MB, free: 5.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005864/0.223, allocations: 454.8 kB / 458 MB, free: 5.547 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.223, allocations: 0 / 458 MB, free: 5.547 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005681/0.2236, allocations: 79.98 kB / 458.1 MB, free: 5.469 MB / 334.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.001292/0.2249, allocations: 489.6 kB / 458.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000742/0.2257, allocations: 291.6 kB / 458.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.2257, allocations: 0 / 458.8 MB, free: 4.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.226, allocations: 153.2 kB / 459 MB, free: 4.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.2271, allocations: 146.1 kB / 459.1 MB, free: 4.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.2289, allocations: 0.8531 MB / 460 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007421/0.2297, allocations: 0.8628 MB / 460.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002768/0.23, allocations: 83.33 kB / 460.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.2301, allocations: 55.41 kB / 461 MB, free: 2.562 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2302, allocations: 0 / 461 MB, free: 2.562 MB / 334.1 MB Notification: Performance of Templates: time 0.01418/0.2443, allocations: 5.653 MB / 466.6 MB, free: 12.93 MB / 350.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches