Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001177/0.001183, allocations: 177.5 kB / 17.41 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.348/1.348, allocations: 225.7 MB / 243.9 MB, free: 10.19 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.0007808/0.0007808, allocations: 89.17 kB / 295 MB, free: 9.73 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.3345/0.3345, allocations: 44.32 MB / 390.5 MB, free: 38.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.0002851, allocations: 12 kB / 463.2 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3093, allocations: 61.88 MB / 0.5127 GB, free: 38.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.001934/0.3113, allocations: 1.336 MB / 0.514 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006385/0.312, allocations: 490.5 kB / 0.5145 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.3121, allocations: 2.781 kB / 0.5145 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005041/0.3126, allocations: 441.5 kB / 0.5149 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.3129, allocations: 245.6 kB / 0.5152 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.3132, allocations: 122.5 kB / 0.5153 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.3134, allocations: 158.4 kB / 0.5154 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.084e-05/0.3135, allocations: 23.34 kB / 0.5154 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.371e-05/0.3136, allocations: 96.97 kB / 0.5155 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.3138, allocations: 201.9 kB / 0.5157 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.3138, allocations: 6.812 kB / 0.5157 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-05/0.3139, allocations: 41.44 kB / 0.5158 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.101e-05/0.314, allocations: 84.73 kB / 0.5159 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.314, allocations: 128.6 kB / 0.516 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.3143, allocations: 251.2 kB / 0.5162 GB, free: 36.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3143, allocations: 0.5156 kB / 0.5162 GB, free: 36.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3143, allocations: 0 / 0.5162 GB, free: 36.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.3143, allocations: 0 / 0.5162 GB, free: 36.38 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.0005398/0.3148, allocations: 0.5974 MB / 0.5168 GB, free: 35.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3149, allocations: 10.88 kB / 0.5168 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.3149, allocations: 36.84 kB / 0.5169 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.3152, allocations: 297.5 kB / 0.5171 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3152, allocations: 7.125 kB / 0.5171 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.3152, allocations: 11.7 kB / 0.5172 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.3153, allocations: 59.33 kB / 0.5172 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3154, allocations: 0.7031 kB / 0.5172 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.3154, allocations: 0 / 0.5172 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-06/0.3154, allocations: 5.406 kB / 0.5172 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.869e-05/0.3155, allocations: 33.73 kB / 0.5172 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.3159, allocations: 396.7 kB / 0.5176 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.084e-05/0.316, allocations: 49.06 kB / 0.5177 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/0.3161, allocations: 22.08 kB / 0.5177 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.3161, allocations: 5.562 kB / 0.5177 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.3161, allocations: 30.56 kB / 0.5177 GB, free: 35.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3161, allocations: 0 / 0.5177 GB, free: 35.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008106/0.3169, allocations: 328.9 kB / 0.518 GB, free: 34.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.317, allocations: 56.62 kB / 0.5181 GB, free: 34.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006109/0.3176, allocations: 0.8548 MB / 0.5189 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.3176, allocations: 25.7 kB / 0.519 GB, free: 34.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.3177, allocations: 222 kB / 0.5192 GB, free: 34.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.3178, allocations: 25.72 kB / 0.5192 GB, free: 34.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.3178, allocations: 0 / 0.5192 GB, free: 34.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.3178, allocations: 365.4 kB / 0.5195 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/0.3179, allocations: 25.39 kB / 0.5196 GB, free: 33.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.065e-05/0.318, allocations: 35.05 kB / 0.5196 GB, free: 33.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.3182, allocations: 74.94 kB / 0.5197 GB, free: 33.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3182, allocations: 0 / 0.5197 GB, free: 33.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002017/0.3184, allocations: 142.5 kB / 0.5198 GB, free: 33.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3184, allocations: 5.344 kB / 0.5198 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3184, allocations: 3.938 kB / 0.5198 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3184, allocations: 4 kB / 0.5198 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.049e-05/0.3185, allocations: 17.75 kB / 0.5198 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3185, allocations: 6.906 kB / 0.5198 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.324e-05/0.3186, allocations: 6.625 kB / 0.5198 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.3186, allocations: 3.156 kB / 0.5199 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 (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.0001298/0.3188, allocations: 216.4 kB / 0.5201 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.3188, allocations: 40.94 kB / 0.5201 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.3191, allocations: 172 kB / 0.5203 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.3191, allocations: 2.875 kB / 0.5203 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3191, allocations: 3.938 kB / 0.5203 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3191, allocations: 3.422 kB / 0.5203 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.3196, allocations: 0.5002 MB / 0.5208 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3196, allocations: 3.938 kB / 0.5208 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.3196, allocations: 24.06 kB / 0.5208 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3196, allocations: 4.031 kB / 0.5208 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.3197, allocations: 6.781 kB / 0.5208 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3197, allocations: 0 / 0.5208 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3197, allocations: 432 / 0.5208 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.3199, allocations: 239.9 kB / 0.521 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.3199, allocations: 123 kB / 0.5211 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.3199, allocations: 0 / 0.5211 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.32, allocations: 9.422 kB / 0.5212 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.3201, allocations: 6.953 kB / 0.5212 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3201, allocations: 10.11 kB / 0.5212 GB, free: 32.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004254/0.3205, allocations: 0.6388 MB / 0.5218 GB, free: 32.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3205, allocations: 0 / 0.5218 GB, free: 32.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.3208, allocations: 34.09 kB / 0.5218 GB, free: 32.64 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.0008593/0.3216, allocations: 0.526 MB / 0.5223 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.3218, allocations: 72.11 kB / 0.5224 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3218, allocations: 0 / 0.5224 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.3219, allocations: 35.44 kB / 0.5224 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.3223, allocations: 35.03 kB / 0.5225 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.3231, allocations: 0.8982 MB / 0.5234 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.3233, allocations: 0.8234 MB / 0.5242 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.465e-05/0.3234, allocations: 14.81 kB / 0.5242 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.3234, allocations: 19.42 kB / 0.5242 GB, free: 31.11 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3234, allocations: 0 / 0.5242 GB, free: 31.11 MB / 378.7 MB Notification: Performance of Templates: time 0.003882/0.3273, allocations: 1.57 MB / 0.5257 GB, free: 30.91 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches