Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001272, allocations: 174.1 kB / 17.4 MB, free: 4.293 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.403/1.403, allocations: 225.7 MB / 243.9 MB, free: 10.18 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.0007946/0.0007944, allocations: 102.6 kB / 295.1 MB, free: 9.727 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.3578/0.3578, allocations: 44.32 MB / 390.5 MB, free: 38.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003475, allocations: 12 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.384, allocations: 61.9 MB / 0.5127 GB, free: 38.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002252/0.3863, allocations: 1.309 MB / 0.514 GB, free: 37.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009542/0.3872, allocations: 0.4983 MB / 0.5145 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.3873, allocations: 2.969 kB / 0.5145 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006311/0.388, allocations: 453.6 kB / 0.5149 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.3883, allocations: 236.9 kB / 0.5152 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.3889, allocations: 165.7 kB / 0.5153 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.3892, allocations: 159.6 kB / 0.5155 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.3894, allocations: 16.69 kB / 0.5155 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.3896, allocations: 110.1 kB / 0.5156 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.3898, allocations: 200.4 kB / 0.5158 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.3899, allocations: 3.125 kB / 0.5158 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.39, allocations: 20.31 kB / 0.5158 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.3901, allocations: 84.33 kB / 0.5159 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.3903, allocations: 135.3 kB / 0.516 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.3906, allocations: 231.1 kB / 0.5162 GB, free: 36.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3906, allocations: 3.938 kB / 0.5162 GB, free: 36.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3906, allocations: 2.719 kB / 0.5162 GB, free: 36.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3906, allocations: 0 / 0.5162 GB, free: 36.28 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008147/0.3915, allocations: 0.5903 MB / 0.5168 GB, free: 35.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3915, allocations: 9.031 kB / 0.5168 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.409e-05/0.3916, allocations: 36.56 kB / 0.5169 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.3919, allocations: 299.9 kB / 0.5172 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.392, allocations: 8.312 kB / 0.5172 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.392, allocations: 3.453 kB / 0.5172 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.3922, allocations: 58.72 kB / 0.5172 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3923, allocations: 1.969 kB / 0.5172 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.3923, allocations: 4 kB / 0.5172 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3923, allocations: 1.406 kB / 0.5172 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.3925, allocations: 34.23 kB / 0.5173 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007152/0.3932, allocations: 410.7 kB / 0.5176 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.3935, allocations: 41.83 kB / 0.5177 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.54e-05/0.3936, allocations: 21.3 kB / 0.5177 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.3936, allocations: 5.062 kB / 0.5177 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.3936, allocations: 31.69 kB / 0.5177 GB, free: 34.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.3936, allocations: 0 / 0.5177 GB, free: 34.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008665/0.3945, allocations: 249.8 kB / 0.518 GB, free: 34.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.3946, allocations: 52.34 kB / 0.518 GB, free: 34.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.3957, allocations: 0.8573 MB / 0.5189 GB, free: 34.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3957, allocations: 29.7 kB / 0.5189 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.3959, allocations: 218 kB / 0.5191 GB, free: 34.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.396, allocations: 18.25 kB / 0.5191 GB, free: 34.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.396, allocations: 4 kB / 0.5191 GB, free: 34.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3961, allocations: 364.8 kB / 0.5195 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.964e-05/0.3962, allocations: 21.61 kB / 0.5195 GB, free: 33.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.424e-05/0.3963, allocations: 27.72 kB / 0.5195 GB, free: 33.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.3965, allocations: 65.16 kB / 0.5196 GB, free: 33.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3966, allocations: 0 / 0.5196 GB, free: 33.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003118/0.3969, allocations: 128.6 kB / 0.5197 GB, free: 33.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3969, allocations: 5.531 kB / 0.5197 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3969, allocations: 4 kB / 0.5197 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.397, allocations: 0 / 0.5197 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.955e-05/0.3971, allocations: 16.08 kB / 0.5197 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3971, allocations: 0 / 0.5197 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.635e-05/0.3972, allocations: 9.312 kB / 0.5197 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.3972, allocations: 3.938 kB / 0.5197 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 (5): * Single equations (assignments): 5 * 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.0002411/0.3975, allocations: 214.7 kB / 0.5199 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.642e-05/0.3975, allocations: 46.22 kB / 0.52 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.3979, allocations: 148.6 kB / 0.5201 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3979, allocations: 7.047 kB / 0.5201 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3979, allocations: 0 / 0.5201 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.398, allocations: 3.938 kB / 0.5201 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006231/0.3986, allocations: 476.2 kB / 0.5206 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3986, allocations: 4 kB / 0.5206 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-05/0.3987, allocations: 18.56 kB / 0.5206 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3987, allocations: 0 / 0.5206 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3987, allocations: 3.938 kB / 0.5206 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3987, allocations: 6.781 kB / 0.5206 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3988, allocations: 3.375 kB / 0.5206 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.3991, allocations: 224.3 kB / 0.5208 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.3992, allocations: 111.2 kB / 0.521 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.3992, allocations: 7.938 kB / 0.521 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.3994, allocations: 5.406 kB / 0.521 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.3994, allocations: 6.391 kB / 0.521 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3994, allocations: 4 kB / 0.521 GB, free: 32.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007616/0.4002, allocations: 0.642 MB / 0.5216 GB, free: 32.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.112e-06/0.4002, allocations: 2.75 kB / 0.5216 GB, free: 32.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000401/0.4006, allocations: 24.61 kB / 0.5216 GB, free: 32.64 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 (5): * Single equations (assignments): 5 * 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.001293/0.4019, allocations: 460.9 kB / 0.5221 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.4022, allocations: 59.38 kB / 0.5221 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4022, allocations: 2.75 kB / 0.5221 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.4024, allocations: 35.66 kB / 0.5222 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/0.4029, allocations: 25.8 kB / 0.5222 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.4043, allocations: 0.8775 MB / 0.523 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.4046, allocations: 0.8241 MB / 0.5238 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.751e-05/0.4047, allocations: 23.45 kB / 0.5239 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.4048, allocations: 10.25 kB / 0.5239 GB, free: 31.16 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4048, allocations: 0 / 0.5239 GB, free: 31.16 MB / 378.7 MB Notification: Performance of Templates: time 0.005823/0.4106, allocations: 1.363 MB / 0.5252 GB, free: 30.99 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches