Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 177.9 kB / 17.41 MB, free: 4.129 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.327/1.327, allocations: 225.7 MB / 243.9 MB, free: 8.305 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.0007582/0.0007583, allocations: 98.84 kB / 295.1 MB, free: 9.465 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.3207/0.3207, allocations: 44.31 MB / 390.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003867, allocations: 8 kB / 463.1 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3549, allocations: 61.91 MB / 0.5127 GB, free: 37.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002492/0.3575, allocations: 1.341 MB / 0.514 GB, free: 37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008847/0.3584, allocations: 499.5 kB / 0.5145 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.3585, allocations: 7.938 kB / 0.5145 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.3588, allocations: 54.69 kB / 0.5146 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.3589, allocations: 43.08 kB / 0.5146 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.3593, allocations: 168.3 kB / 0.5148 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.3595, allocations: 73.09 kB / 0.5149 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3596, allocations: 21 kB / 0.5149 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/0.3597, allocations: 23.06 kB / 0.5149 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.638e-05/0.3598, allocations: 47.7 kB / 0.5149 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3598, allocations: 2.844 kB / 0.5149 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.215e-05/0.3599, allocations: 38.06 kB / 0.515 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.553e-05/0.36, allocations: 16.33 kB / 0.515 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/0.36, allocations: 55.67 kB / 0.5151 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.3602, allocations: 106.9 kB / 0.5152 GB, free: 36.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.3602, allocations: 7.219 kB / 0.5152 GB, free: 36.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3602, allocations: 0 / 0.5152 GB, free: 36.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3602, allocations: 0 / 0.5152 GB, free: 36.33 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004264/0.3607, allocations: 393.9 kB / 0.5155 GB, free: 35.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3607, allocations: 8.938 kB / 0.5155 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.3608, allocations: 11.66 kB / 0.5156 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.3609, allocations: 203.6 kB / 0.5157 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3609, allocations: 7.312 kB / 0.5158 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.361, allocations: 6.938 kB / 0.5158 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.3611, allocations: 74.33 kB / 0.5158 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3612, allocations: 0 / 0.5158 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.3612, allocations: 4 kB / 0.5158 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3612, allocations: 2.938 kB / 0.5158 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.3613, allocations: 49.8 kB / 0.5159 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.3617, allocations: 320.3 kB / 0.5162 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.362, allocations: 67.06 kB / 0.5163 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.475e-05/0.3621, allocations: 32.25 kB / 0.5163 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.3621, allocations: 0 / 0.5163 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.3621, allocations: 33.47 kB / 0.5163 GB, free: 35.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.71e-07/0.3621, allocations: 0 / 0.5163 GB, free: 35.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001383/0.3635, allocations: 0.4943 MB / 0.5168 GB, free: 35.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.3636, allocations: 51.41 kB / 0.5169 GB, free: 35.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.3637, allocations: 176.3 kB / 0.517 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.3637, allocations: 30.67 kB / 0.517 GB, free: 34.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.3637, allocations: 107.2 kB / 0.5172 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.3638, allocations: 39.31 kB / 0.5172 GB, free: 34.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.3638, allocations: 1 kB / 0.5172 GB, free: 34.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.41e-05/0.3639, allocations: 325.5 kB / 0.5175 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.364, allocations: 57.92 kB / 0.5176 GB, free: 34.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.3641, allocations: 69 kB / 0.5176 GB, free: 34.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.3644, allocations: 142 kB / 0.5178 GB, free: 34.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3644, allocations: 0 / 0.5178 GB, free: 34.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003175/0.3647, allocations: 182.2 kB / 0.5179 GB, free: 34.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3648, allocations: 5.062 kB / 0.5179 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.3648, allocations: 4.594 kB / 0.5179 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3648, allocations: 5.219 kB / 0.5179 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.3649, allocations: 36.19 kB / 0.518 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3649, allocations: 2.016 kB / 0.518 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.019e-05/0.365, allocations: 15.66 kB / 0.518 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.365, allocations: 7.859 kB / 0.518 GB, free: 34.27 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 (11): * Single equations (assignments): 11 * 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 8.559e-05/0.3651, allocations: 127.2 kB / 0.5181 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.3652, allocations: 10.52 kB / 0.5181 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004252/0.3656, allocations: 204.7 kB / 0.5183 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3656, allocations: 1.094 kB / 0.5183 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3656, allocations: 0 / 0.5183 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3656, allocations: 1.734 kB / 0.5183 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006182/0.3662, allocations: 0.5158 MB / 0.5188 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3663, allocations: 1.062 kB / 0.5188 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.3664, allocations: 29.23 kB / 0.5189 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3664, allocations: 1.516 kB / 0.5189 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3664, allocations: 5.844 kB / 0.5189 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3664, allocations: 1.703 kB / 0.5189 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3664, allocations: 5.453 kB / 0.5189 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.3668, allocations: 293.8 kB / 0.5192 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.3668, allocations: 90.39 kB / 0.5192 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.3668, allocations: 1.875 kB / 0.5192 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.189e-05/0.3669, allocations: 17.5 kB / 0.5193 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.367, allocations: 13.17 kB / 0.5193 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.367, allocations: 3.688 kB / 0.5193 GB, free: 33.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.215e-05/0.3671, allocations: 137.5 kB / 0.5194 GB, free: 33.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3671, allocations: 4 kB / 0.5194 GB, free: 33.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.3673, allocations: 25.97 kB / 0.5194 GB, free: 33.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009606/0.3683, allocations: 0.5208 MB / 0.5199 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003589/0.3687, allocations: 141.7 kB / 0.5201 GB, free: 32.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3687, allocations: 4 kB / 0.5201 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.3689, allocations: 78.56 kB / 0.5202 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.3694, allocations: 13.56 kB / 0.5202 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.3699, allocations: 341.2 kB / 0.5205 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.37, allocations: 0.7167 MB / 0.5212 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.542e-05/0.3701, allocations: 33.61 kB / 0.5212 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.3702, allocations: 14.25 kB / 0.5212 GB, free: 31.91 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3702, allocations: 0 / 0.5212 GB, free: 31.91 MB / 378.7 MB Notification: Performance of Templates: time 0.003889/0.3741, allocations: 1.489 MB / 0.5227 GB, free: 31.74 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches