Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 174.4 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.38/1.38, 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.0008135/0.0008136, allocations: 91.86 kB / 295 MB, free: 9.488 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.3487/0.3487, allocations: 44.32 MB / 390.5 MB, free: 38.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003467, allocations: 8 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3341, allocations: 61.9 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001634/0.3358, allocations: 1.279 MB / 0.514 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006636/0.3364, allocations: 488.9 kB / 0.5144 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.3365, allocations: 0 / 0.5144 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.337, allocations: 447 kB / 0.5149 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.3373, allocations: 241.3 kB / 0.5151 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.3377, allocations: 159.2 kB / 0.5153 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.3379, allocations: 154.4 kB / 0.5154 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.338, allocations: 15.16 kB / 0.5154 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.399e-05/0.3381, allocations: 103.9 kB / 0.5155 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.3383, allocations: 201 kB / 0.5157 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3384, allocations: 0.9688 kB / 0.5157 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.48e-05/0.3384, allocations: 24.08 kB / 0.5157 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.3385, allocations: 79.48 kB / 0.5158 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.3386, allocations: 123.5 kB / 0.5159 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.3389, allocations: 232.9 kB / 0.5161 GB, free: 36.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3389, allocations: 3.938 kB / 0.5162 GB, free: 36.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3389, allocations: 4 kB / 0.5162 GB, free: 36.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3389, allocations: 0 / 0.5162 GB, free: 36.16 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.0005333/0.3394, allocations: 0.5776 MB / 0.5167 GB, free: 35.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3395, allocations: 9.016 kB / 0.5167 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.3395, allocations: 42.31 kB / 0.5168 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.3397, allocations: 295.4 kB / 0.5171 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.3397, allocations: 384 / 0.5171 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.3398, allocations: 3.25 kB / 0.5171 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.3399, allocations: 58.53 kB / 0.5171 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3399, allocations: 0 / 0.5171 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3399, allocations: 3.172 kB / 0.5171 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3399, allocations: 0 / 0.5171 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.718e-05/0.34, allocations: 29.22 kB / 0.5171 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.3405, allocations: 390.9 kB / 0.5175 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.014e-05/0.3406, allocations: 32.95 kB / 0.5175 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.3406, allocations: 16.7 kB / 0.5176 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.3407, allocations: 3.938 kB / 0.5176 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.3407, allocations: 35.62 kB / 0.5176 GB, free: 34.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3407, allocations: 0 / 0.5176 GB, free: 34.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002916/0.341, allocations: 108.7 kB / 0.5177 GB, free: 34.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.341, allocations: 53.16 kB / 0.5178 GB, free: 34.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/0.3418, allocations: 0.854 MB / 0.5186 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.3418, allocations: 29.64 kB / 0.5186 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3419, allocations: 223 kB / 0.5188 GB, free: 34.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.3419, allocations: 11.84 kB / 0.5188 GB, free: 34.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.342, allocations: 2.875 kB / 0.5188 GB, free: 34.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.342, allocations: 358.7 kB / 0.5192 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.515e-05/0.3421, allocations: 16.09 kB / 0.5192 GB, free: 33.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.255e-05/0.3421, allocations: 16.72 kB / 0.5192 GB, free: 33.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.723e-05/0.3422, allocations: 30.94 kB / 0.5192 GB, free: 33.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3422, allocations: 0 / 0.5192 GB, free: 33.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001199/0.3423, allocations: 97.34 kB / 0.5193 GB, free: 33.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3424, allocations: 6.219 kB / 0.5193 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.3424, allocations: 0 / 0.5193 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3424, allocations: 0 / 0.5193 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.952e-05/0.3424, allocations: 9.969 kB / 0.5194 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3425, allocations: 0 / 0.5194 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.196e-05/0.3425, allocations: 10.44 kB / 0.5194 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.3425, allocations: 6.5 kB / 0.5194 GB, free: 33.79 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 (2): * Single equations (assignments): 2 * 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.0001448/0.3427, allocations: 214.8 kB / 0.5196 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.3427, allocations: 36.91 kB / 0.5196 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.3429, allocations: 116.3 kB / 0.5197 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3429, allocations: 0 / 0.5197 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3429, allocations: 0 / 0.5197 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3429, allocations: 6.297 kB / 0.5197 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.3432, allocations: 279.8 kB / 0.52 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3432, allocations: 0 / 0.52 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.3432, allocations: 5.656 kB / 0.52 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3432, allocations: 0 / 0.52 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.3432, allocations: 2.781 kB / 0.52 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3433, allocations: 0 / 0.52 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3433, allocations: 4.031 kB / 0.52 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.3434, allocations: 198.6 kB / 0.5202 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.3435, allocations: 114.2 kB / 0.5203 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.3435, allocations: 4 kB / 0.5203 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/0.3436, allocations: 2.781 kB / 0.5203 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.3436, allocations: 10.25 kB / 0.5203 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.3436, allocations: 0 / 0.5203 GB, free: 33.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004789/0.3441, allocations: 0.6481 MB / 0.521 GB, free: 32.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3441, allocations: 0 / 0.521 GB, free: 32.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002415/0.3444, allocations: 22.53 kB / 0.521 GB, free: 32.8 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 (2): * Single equations (assignments): 2 * 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.000847/0.3452, allocations: 403.1 kB / 0.5214 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.3454, allocations: 27.69 kB / 0.5214 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3454, allocations: 3.938 kB / 0.5214 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.322e-05/0.3454, allocations: 12.52 kB / 0.5214 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.3458, allocations: 40.48 kB / 0.5214 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008716/0.3467, allocations: 0.8345 MB / 0.5223 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.3469, allocations: 0.8186 MB / 0.5231 GB, free: 31.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.717e-05/0.347, allocations: 11.8 kB / 0.5231 GB, free: 31.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.347, allocations: 14.31 kB / 0.5231 GB, free: 31.39 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.347, allocations: 4 kB / 0.5231 GB, free: 31.38 MB / 378.7 MB Notification: Performance of Templates: time 0.003817/0.3508, allocations: 1.167 MB / 0.5242 GB, free: 31.22 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches