Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008769/0.0008769, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 225.7 MB / 243.9 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007792/0.0007795, allocations: 102.9 kB / 295.1 MB, free: 9.484 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.35/0.35, allocations: 44.32 MB / 390.5 MB, free: 38.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003053, allocations: 11.94 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3289, allocations: 61.9 MB / 0.5127 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.001599/0.3305, allocations: 1.262 MB / 0.514 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006088/0.3311, allocations: 455.5 kB / 0.5144 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.708e-05/0.3312, allocations: 2.969 kB / 0.5144 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.3314, allocations: 25.41 kB / 0.5144 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.3316, allocations: 24.36 kB / 0.5145 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.3318, allocations: 83.2 kB / 0.5145 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.3319, allocations: 56.91 kB / 0.5146 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.748e-05/0.332, allocations: 9.875 kB / 0.5146 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.801e-05/0.3321, allocations: 17.2 kB / 0.5146 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.3321, allocations: 24.62 kB / 0.5146 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.3322, allocations: 2.812 kB / 0.5146 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.334e-05/0.3322, allocations: 22.81 kB / 0.5147 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.028e-05/0.3323, allocations: 12.97 kB / 0.5147 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.3323, allocations: 44.34 kB / 0.5147 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.3324, allocations: 74.72 kB / 0.5148 GB, free: 36.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3324, allocations: 0 / 0.5148 GB, free: 36.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3324, allocations: 0 / 0.5148 GB, free: 36.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.3325, allocations: 0 / 0.5148 GB, free: 36.49 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003199/0.3328, allocations: 382.5 kB / 0.5152 GB, free: 36.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.3328, allocations: 8.375 kB / 0.5152 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.3329, allocations: 7.438 kB / 0.5152 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.333, allocations: 183.1 kB / 0.5153 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.333, allocations: 10.56 kB / 0.5154 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.333, allocations: 2.344 kB / 0.5154 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.3331, allocations: 51.02 kB / 0.5154 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.3332, allocations: 0 / 0.5154 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.3332, allocations: 3.969 kB / 0.5154 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.3332, allocations: 4 kB / 0.5154 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.938e-05/0.3333, allocations: 21.62 kB / 0.5154 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/0.3335, allocations: 281.3 kB / 0.5157 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.3337, allocations: 52.64 kB / 0.5158 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.317e-05/0.3338, allocations: 16.86 kB / 0.5158 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.3338, allocations: 0 / 0.5158 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.076e-05/0.3338, allocations: 34.56 kB / 0.5158 GB, free: 35.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3338, allocations: 0 / 0.5158 GB, free: 35.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000451/0.3343, allocations: 156.6 kB / 0.516 GB, free: 35.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.579e-05/0.3343, allocations: 51.41 kB / 0.516 GB, free: 35.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.301e-05/0.3344, allocations: 155.3 kB / 0.5161 GB, free: 35.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.673e-06/0.3344, allocations: 29.7 kB / 0.5162 GB, free: 35.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.791e-05/0.3344, allocations: 97.02 kB / 0.5163 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.3344, allocations: 15.75 kB / 0.5163 GB, free: 35.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.3345, allocations: 3.938 kB / 0.5163 GB, free: 35.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.3345, allocations: 324.6 kB / 0.5166 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.3346, allocations: 21.3 kB / 0.5166 GB, free: 34.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-05/0.3346, allocations: 33.41 kB / 0.5166 GB, free: 34.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.3347, allocations: 54.44 kB / 0.5167 GB, free: 34.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.3348, allocations: 3.938 kB / 0.5167 GB, free: 34.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001426/0.3349, allocations: 84.8 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.3349, allocations: 8.281 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.3349, allocations: 0 / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3349, allocations: 2.594 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.656e-05/0.335, allocations: 18.52 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.335, allocations: 0 / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.3351, allocations: 5.719 kB / 0.5168 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.3351, allocations: 7.938 kB / 0.5168 GB, free: 34.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.97e-05/0.3351, allocations: 122.6 kB / 0.5169 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.3352, allocations: 9.5 kB / 0.517 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.3353, allocations: 90.06 kB / 0.517 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3354, allocations: 3.984 kB / 0.517 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3354, allocations: 4 kB / 0.517 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3354, allocations: 6.312 kB / 0.5171 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.3357, allocations: 351.7 kB / 0.5174 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3357, allocations: 0 / 0.5174 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.3357, allocations: 19.09 kB / 0.5174 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3357, allocations: 0 / 0.5174 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.3357, allocations: 320 / 0.5174 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3358, allocations: 3.938 kB / 0.5174 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3358, allocations: 6.875 kB / 0.5174 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.3359, allocations: 183 kB / 0.5176 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.336, allocations: 95.02 kB / 0.5177 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.336, allocations: 0 / 0.5177 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.082e-05/0.336, allocations: 9.875 kB / 0.5177 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.3361, allocations: 6.312 kB / 0.5177 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.3361, allocations: 0 / 0.5177 GB, free: 33.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.499e-05/0.3361, allocations: 120.1 kB / 0.5178 GB, free: 33.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3361, allocations: 0 / 0.5178 GB, free: 33.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001989/0.3363, allocations: 12.69 kB / 0.5178 GB, free: 33.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0007379/0.3371, allocations: 470.5 kB / 0.5183 GB, free: 33.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.3373, allocations: 57.28 kB / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.3373, allocations: 0 / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.36e-05/0.3373, allocations: 33.17 kB / 0.5184 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.3376, allocations: 13.89 kB / 0.5184 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.3379, allocations: 208.2 kB / 0.5186 GB, free: 33.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.338, allocations: 0.6973 MB / 0.5193 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.804e-05/0.3381, allocations: 7.719 kB / 0.5193 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.3381, allocations: 12.22 kB / 0.5193 GB, free: 32.6 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3381, allocations: 0 / 0.5193 GB, free: 32.6 MB / 378.7 MB Notification: Performance of Templates: time 0.003117/0.3412, allocations: 1.03 MB / 0.5203 GB, free: 32.47 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches