Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,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.Test1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001833/0.001833, 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.37/1.37, allocations: 225.7 MB / 243.9 MB, free: 8.457 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.0008167/0.0008168, allocations: 101.5 kB / 295.1 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.3187/0.3187, allocations: 44.32 MB / 390.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003078, allocations: 8 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3547, allocations: 61.91 MB / 0.5127 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.00185/0.3566, allocations: 1.333 MB / 0.514 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007619/0.3574, allocations: 0.4952 MB / 0.5145 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/0.3575, allocations: 0 / 0.5145 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004866/0.358, allocations: 453.7 kB / 0.515 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.3583, allocations: 234.7 kB / 0.5152 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.3586, allocations: 175.8 kB / 0.5154 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.3588, allocations: 166.7 kB / 0.5155 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3589, allocations: 23.3 kB / 0.5155 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.328e-05/0.359, allocations: 99.06 kB / 0.5156 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.3593, allocations: 200.2 kB / 0.5158 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.3593, allocations: 3.938 kB / 0.5158 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.535e-05/0.3594, allocations: 39.31 kB / 0.5159 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.3595, allocations: 82.59 kB / 0.5159 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.36e-05/0.3596, allocations: 125.3 kB / 0.5161 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.3599, allocations: 258.4 kB / 0.5163 GB, free: 36.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3599, allocations: 2.062 kB / 0.5163 GB, free: 36.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.686e-06/0.3599, allocations: 0 / 0.5163 GB, free: 36.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3599, allocations: 0 / 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.0005928/0.3605, allocations: 0.5998 MB / 0.5169 GB, free: 35.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3606, allocations: 9.219 kB / 0.5169 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.3606, allocations: 49.58 kB / 0.5169 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.3609, allocations: 292.1 kB / 0.5172 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3609, allocations: 3 kB / 0.5172 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.3609, allocations: 7.031 kB / 0.5172 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.3611, allocations: 69.23 kB / 0.5173 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3611, allocations: 1.031 kB / 0.5173 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.3611, allocations: 0 / 0.5173 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3611, allocations: 0.9375 kB / 0.5173 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.3612, allocations: 40.88 kB / 0.5173 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.3617, allocations: 401.8 kB / 0.5177 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.3618, allocations: 47.95 kB / 0.5178 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.182e-05/0.3619, allocations: 25 kB / 0.5178 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.3619, allocations: 1.891 kB / 0.5178 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.362, allocations: 35.67 kB / 0.5178 GB, free: 34.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.362, allocations: 0 / 0.5178 GB, free: 34.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009636/0.3629, allocations: 357.4 kB / 0.5182 GB, free: 34.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.363, allocations: 62.19 kB / 0.5182 GB, free: 34.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008282/0.3638, allocations: 0.8542 MB / 0.5191 GB, free: 34.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.3638, allocations: 25.7 kB / 0.5191 GB, free: 34.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.364, allocations: 219.3 kB / 0.5193 GB, free: 34.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.364, allocations: 29.8 kB / 0.5193 GB, free: 34.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.364, allocations: 0 / 0.5193 GB, free: 34.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.99e-05/0.3641, allocations: 364 kB / 0.5197 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.3642, allocations: 43.66 kB / 0.5197 GB, free: 33.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.3643, allocations: 33.22 kB / 0.5197 GB, free: 33.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.3644, allocations: 88.78 kB / 0.5198 GB, free: 33.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3644, allocations: 0 / 0.5198 GB, free: 33.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002109/0.3647, allocations: 142.1 kB / 0.52 GB, free: 33.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3647, allocations: 6.031 kB / 0.52 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3647, allocations: 3.281 kB / 0.52 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3647, allocations: 0 / 0.52 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.3648, allocations: 28.77 kB / 0.52 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3648, allocations: 3.938 kB / 0.52 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.3649, allocations: 5.438 kB / 0.52 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3649, allocations: 0 / 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.0001492/0.3651, allocations: 215.4 kB / 0.5202 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.3651, allocations: 44.34 kB / 0.5203 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.3654, allocations: 184.2 kB / 0.5204 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3654, allocations: 0 / 0.5204 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3654, allocations: 7.031 kB / 0.5204 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3655, allocations: 0 / 0.5204 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005654/0.366, allocations: 0.5283 MB / 0.521 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.366, allocations: 7.938 kB / 0.521 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.507e-05/0.3661, allocations: 19.86 kB / 0.521 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3661, allocations: 0 / 0.521 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3661, allocations: 3.094 kB / 0.521 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3661, allocations: 4.031 kB / 0.521 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3661, allocations: 0 / 0.521 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.3664, allocations: 254.2 kB / 0.5212 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.3664, allocations: 117.4 kB / 0.5213 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.3665, allocations: 3.031 kB / 0.5213 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.3666, allocations: 9.203 kB / 0.5214 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.3666, allocations: 5.891 kB / 0.5214 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.3666, allocations: 6.969 kB / 0.5214 GB, free: 32.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004761/0.3671, allocations: 0.6443 MB / 0.522 GB, free: 32.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3671, allocations: 0 / 0.522 GB, free: 32.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.3674, allocations: 26.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.001022/0.3684, allocations: 0.5153 MB / 0.5225 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.3687, allocations: 93.86 kB / 0.5226 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3687, allocations: 0 / 0.5226 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.201e-05/0.3688, allocations: 46.59 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.0004055/0.3692, allocations: 29.61 kB / 0.5227 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.3703, allocations: 0.9099 MB / 0.5236 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.3706, allocations: 0.8342 MB / 0.5244 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.913e-05/0.3707, allocations: 28.81 kB / 0.5244 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.3707, allocations: 13.28 kB / 0.5244 GB, free: 30.83 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3707, allocations: 0 / 0.5244 GB, free: 30.83 MB / 378.7 MB Notification: Performance of Templates: time 0.004382/0.3751, allocations: 1.611 MB / 0.526 GB, free: 30.64 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches