Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 177.9 kB / 17.41 MB, free: 4.289 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.439/1.439, allocations: 225.7 MB / 243.9 MB, free: 8.453 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.0008315/0.0008316, allocations: 94.58 kB / 295 MB, free: 9.496 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.3702/0.3702, allocations: 44.32 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003095, allocations: 11.98 kB / 463.1 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3488, allocations: 61.9 MB / 0.5127 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.001445/0.3503, allocations: 1.338 MB / 0.514 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006177/0.3509, allocations: 499.1 kB / 0.5145 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.351, allocations: 4 kB / 0.5145 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.3514, allocations: 459.4 kB / 0.515 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.3516, allocations: 231.7 kB / 0.5152 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.352, allocations: 170.2 kB / 0.5153 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.3522, allocations: 166.3 kB / 0.5155 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.753e-05/0.3523, allocations: 23.69 kB / 0.5155 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.886e-05/0.3524, allocations: 99.11 kB / 0.5156 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.3526, allocations: 199.7 kB / 0.5158 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.3526, allocations: 0 / 0.5158 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.812e-05/0.3527, allocations: 40.08 kB / 0.5159 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.968e-05/0.3528, allocations: 82.42 kB / 0.5159 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.493e-05/0.3528, allocations: 126.8 kB / 0.5161 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.3531, allocations: 259.4 kB / 0.5163 GB, free: 36.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3531, allocations: 5.094 kB / 0.5163 GB, free: 36.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3531, allocations: 0 / 0.5163 GB, free: 36.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3531, allocations: 3.938 kB / 0.5163 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004931/0.3536, allocations: 0.5949 MB / 0.5169 GB, free: 35.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.3537, allocations: 8.875 kB / 0.5169 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.3537, allocations: 43.47 kB / 0.5169 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.3539, allocations: 294.8 kB / 0.5172 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3539, allocations: 2.5 kB / 0.5172 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.354, allocations: 10.66 kB / 0.5172 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.3541, allocations: 70.36 kB / 0.5173 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3541, allocations: 4.766 kB / 0.5173 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.3541, allocations: 0 / 0.5173 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3542, allocations: 1.344 kB / 0.5173 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.728e-05/0.3543, allocations: 36.22 kB / 0.5173 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.3547, allocations: 405.8 kB / 0.5177 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.022e-05/0.3548, allocations: 47.09 kB / 0.5178 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.3548, allocations: 22.88 kB / 0.5178 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3548, allocations: 0 / 0.5178 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.3549, allocations: 37.89 kB / 0.5178 GB, free: 34.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.3549, allocations: 0 / 0.5178 GB, free: 34.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.00082/0.3557, allocations: 345.6 kB / 0.5182 GB, free: 34.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.3557, allocations: 55.34 kB / 0.5182 GB, free: 34.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006447/0.3564, allocations: 0.8635 MB / 0.5191 GB, free: 34.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.3564, allocations: 25.7 kB / 0.5191 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3565, allocations: 220 kB / 0.5193 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.3565, allocations: 33.45 kB / 0.5193 GB, free: 34.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.3565, allocations: 0 / 0.5193 GB, free: 34.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.94e-05/0.3566, allocations: 364.6 kB / 0.5197 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.3567, allocations: 43.83 kB / 0.5197 GB, free: 33.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.485e-05/0.3568, allocations: 32.5 kB / 0.5197 GB, free: 33.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.3569, allocations: 80.78 kB / 0.5198 GB, free: 33.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.3569, allocations: 0 / 0.5198 GB, free: 33.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001975/0.3571, allocations: 150.2 kB / 0.52 GB, free: 33.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3572, allocations: 5.812 kB / 0.52 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3572, allocations: 4 kB / 0.52 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3572, allocations: 0 / 0.52 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.031e-05/0.3573, allocations: 24.7 kB / 0.52 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3573, allocations: 11.09 kB / 0.52 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.3574, allocations: 6.875 kB / 0.52 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.3574, allocations: 2.688 kB / 0.52 GB, free: 33.6 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 (8): * Single equations (assignments): 8 * 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.000128/0.3575, allocations: 215 kB / 0.5202 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.3575, allocations: 43.81 kB / 0.5203 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.3578, allocations: 184.7 kB / 0.5204 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3578, allocations: 0 / 0.5204 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3579, allocations: 3.938 kB / 0.5204 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3579, allocations: 0 / 0.5204 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.3584, allocations: 0.5254 MB / 0.521 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3584, allocations: 3.938 kB / 0.521 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.304e-05/0.3584, allocations: 20.33 kB / 0.521 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3584, allocations: 0 / 0.521 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.3585, allocations: 2.844 kB / 0.521 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3585, allocations: 3.141 kB / 0.521 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3585, allocations: 0 / 0.521 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.3587, allocations: 258 kB / 0.5212 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.3588, allocations: 113.5 kB / 0.5213 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.3588, allocations: 0 / 0.5213 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.3589, allocations: 13.09 kB / 0.5213 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.3589, allocations: 10.86 kB / 0.5214 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.3589, allocations: 6.938 kB / 0.5214 GB, free: 32.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004491/0.3594, allocations: 0.6443 MB / 0.522 GB, free: 32.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3594, allocations: 0 / 0.522 GB, free: 32.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002265/0.3596, allocations: 27.72 kB / 0.522 GB, free: 32.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009048/0.3605, allocations: 0.5238 MB / 0.5225 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.3607, allocations: 89.11 kB / 0.5226 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3608, allocations: 0 / 0.5226 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.487e-05/0.3608, allocations: 44.16 kB / 0.5227 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3612, allocations: 30.12 kB / 0.5227 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009045/0.3621, allocations: 0.9093 MB / 0.5236 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.3624, allocations: 0.8385 MB / 0.5244 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.849e-05/0.3624, allocations: 26.98 kB / 0.5244 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.3625, allocations: 18.41 kB / 0.5244 GB, free: 30.83 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3625, allocations: 0 / 0.5244 GB, free: 30.83 MB / 378.7 MB Notification: Performance of Templates: time 0.004038/0.3665, allocations: 1.613 MB / 0.526 GB, free: 30.64 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches