Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.0009928/0.0009928, allocations: 175 kB / 17.41 MB, free: 4.387 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.364/1.364, allocations: 225.7 MB / 243.9 MB, free: 8.43 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.0007405/0.0007406, allocations: 93.5 kB / 295 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.3274/0.3274, allocations: 44.32 MB / 390.5 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.0003009, allocations: 12 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3331, allocations: 61.89 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001489/0.3346, allocations: 1.282 MB / 0.514 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006243/0.3352, allocations: 494.2 kB / 0.5145 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.242e-05/0.3353, allocations: 0 / 0.5145 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.3358, allocations: 449.3 kB / 0.5149 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.336, allocations: 241.5 kB / 0.5151 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.3364, allocations: 161.2 kB / 0.5153 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.3366, allocations: 151.7 kB / 0.5154 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.3367, allocations: 16.89 kB / 0.5154 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3368, allocations: 105.3 kB / 0.5155 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.337, allocations: 193.5 kB / 0.5157 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.337, allocations: 1.125 kB / 0.5157 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.207e-05/0.3371, allocations: 17.19 kB / 0.5157 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.3372, allocations: 85.97 kB / 0.5158 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.118e-05/0.3373, allocations: 125.2 kB / 0.5159 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.3376, allocations: 234 kB / 0.5162 GB, free: 36.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3376, allocations: 0 / 0.5162 GB, free: 36.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3376, allocations: 0 / 0.5162 GB, free: 36.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3376, allocations: 0 / 0.5162 GB, free: 36.22 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.0006219/0.3382, allocations: 0.5795 MB / 0.5167 GB, free: 35.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3383, allocations: 9.031 kB / 0.5167 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.3383, allocations: 38.39 kB / 0.5168 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.3386, allocations: 297.4 kB / 0.5171 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.3386, allocations: 4.375 kB / 0.5171 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.3386, allocations: 2.469 kB / 0.5171 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.3388, allocations: 61.22 kB / 0.5171 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3388, allocations: 0 / 0.5171 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.3388, allocations: 0 / 0.5171 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3388, allocations: 0 / 0.5171 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.003e-05/0.3389, allocations: 28.03 kB / 0.5171 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.3393, allocations: 385 kB / 0.5175 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.016e-05/0.3394, allocations: 38.98 kB / 0.5175 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.771e-05/0.3395, allocations: 15.52 kB / 0.5176 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3395, allocations: 1.031 kB / 0.5176 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.3395, allocations: 35.75 kB / 0.5176 GB, free: 34.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.874e-06/0.3396, allocations: 3.984 kB / 0.5176 GB, free: 34.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002679/0.3398, allocations: 108.8 kB / 0.5177 GB, free: 34.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.3399, allocations: 51.41 kB / 0.5178 GB, free: 34.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007926/0.3407, allocations: 0.8606 MB / 0.5186 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.3407, allocations: 29.7 kB / 0.5186 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.3408, allocations: 223.2 kB / 0.5188 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.3408, allocations: 7.844 kB / 0.5188 GB, free: 34.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.3409, allocations: 3.938 kB / 0.5188 GB, free: 34.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.3409, allocations: 362 kB / 0.5192 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.476e-05/0.341, allocations: 16.31 kB / 0.5192 GB, free: 33.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.341, allocations: 15.95 kB / 0.5192 GB, free: 33.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.143e-05/0.3411, allocations: 30.12 kB / 0.5193 GB, free: 33.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3411, allocations: 0 / 0.5193 GB, free: 33.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001312/0.3413, allocations: 94.62 kB / 0.5193 GB, free: 33.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3413, allocations: 6.125 kB / 0.5193 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3413, allocations: 4.094 kB / 0.5194 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3413, allocations: 3.938 kB / 0.5194 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.3414, allocations: 9.781 kB / 0.5194 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.3414, allocations: 0 / 0.5194 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.3414, allocations: 6.906 kB / 0.5194 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.3415, allocations: 0 / 0.5194 GB, free: 33.85 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.0001496/0.3416, allocations: 215.3 kB / 0.5196 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.3417, allocations: 37.31 kB / 0.5196 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.3419, allocations: 115.3 kB / 0.5197 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3419, allocations: 0 / 0.5197 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3419, allocations: 2.938 kB / 0.5197 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.3419, allocations: 0 / 0.5197 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.3421, allocations: 282.9 kB / 0.52 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3421, allocations: 0 / 0.52 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.3422, allocations: 9.812 kB / 0.52 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3422, allocations: 0 / 0.52 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.3422, allocations: 4.031 kB / 0.52 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3422, allocations: 6.812 kB / 0.52 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3422, allocations: 0 / 0.52 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.3423, allocations: 193.4 kB / 0.5202 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.3424, allocations: 115.3 kB / 0.5203 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.3424, allocations: 4.031 kB / 0.5203 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.3425, allocations: 2.969 kB / 0.5203 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.3426, allocations: 0 / 0.5203 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.3426, allocations: 6.312 kB / 0.5203 GB, free: 33.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004832/0.3431, allocations: 0.6422 MB / 0.5209 GB, free: 32.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3431, allocations: 3.375 kB / 0.521 GB, free: 32.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.3433, allocations: 21.03 kB / 0.521 GB, free: 32.86 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.0007792/0.3441, allocations: 409.9 kB / 0.5214 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.3442, allocations: 30.88 kB / 0.5214 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3442, allocations: 0 / 0.5214 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.272e-05/0.3443, allocations: 15.97 kB / 0.5214 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.3446, allocations: 23.2 kB / 0.5214 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009047/0.3455, allocations: 0.8371 MB / 0.5222 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.3458, allocations: 0.8195 MB / 0.523 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.827e-05/0.3459, allocations: 16.75 kB / 0.5231 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.3459, allocations: 10.41 kB / 0.5231 GB, free: 31.45 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3459, allocations: 0 / 0.5231 GB, free: 31.45 MB / 378.7 MB Notification: Performance of Templates: time 0.003913/0.3498, allocations: 1.178 MB / 0.5242 GB, free: 31.28 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches