Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008534/0.0008533, allocations: 174.2 kB / 17.41 MB, free: 4.414 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.351/1.351, allocations: 225.7 MB / 243.9 MB, free: 8.445 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.0007977/0.0007978, allocations: 92.19 kB / 295 MB, free: 9.484 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.3226/0.3226, allocations: 44.31 MB / 390.5 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0002999, allocations: 8 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2938, allocations: 61.89 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.0016/0.2955, allocations: 1.328 MB / 0.514 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2965, allocations: 1.137 MB / 0.5151 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.2965, allocations: 2.938 kB / 0.5151 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.2967, allocations: 20.53 kB / 0.5152 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.2969, allocations: 35.97 kB / 0.5152 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.2971, allocations: 125.5 kB / 0.5153 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.714e-05/0.2972, allocations: 55.88 kB / 0.5154 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.831e-05/0.2973, allocations: 13.42 kB / 0.5154 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.792e-05/0.2974, allocations: 21.88 kB / 0.5154 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.2975, allocations: 28.48 kB / 0.5154 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.2975, allocations: 4 kB / 0.5154 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.96e-05/0.2976, allocations: 45.61 kB / 0.5155 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.2976, allocations: 21.23 kB / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.2977, allocations: 40.77 kB / 0.5155 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.2978, allocations: 85.77 kB / 0.5156 GB, free: 35.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2978, allocations: 0 / 0.5156 GB, free: 35.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2978, allocations: 2.875 kB / 0.5156 GB, free: 35.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.2978, allocations: 0 / 0.5156 GB, free: 35.84 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.0003489/0.2982, allocations: 385.9 kB / 0.516 GB, free: 35.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.2982, allocations: 8.719 kB / 0.516 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.2983, allocations: 7.844 kB / 0.516 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.2984, allocations: 195.6 kB / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.2984, allocations: 384 / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.2984, allocations: 3.125 kB / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.2986, allocations: 86.08 kB / 0.5163 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.2986, allocations: 3.938 kB / 0.5163 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.2986, allocations: 0 / 0.5163 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2986, allocations: 2.938 kB / 0.5163 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.2988, allocations: 43.39 kB / 0.5163 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.2991, allocations: 287.2 kB / 0.5166 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.2992, allocations: 52.92 kB / 0.5166 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.2993, allocations: 25.08 kB / 0.5167 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.2993, allocations: 4 kB / 0.5167 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.2993, allocations: 36.28 kB / 0.5167 GB, free: 34.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2993, allocations: 1.094 kB / 0.5167 GB, free: 34.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006855/0.3, allocations: 243 kB / 0.5169 GB, free: 34.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.3, allocations: 77.67 kB / 0.517 GB, free: 34.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/0.3001, allocations: 137.8 kB / 0.5171 GB, free: 34.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.3002, allocations: 25.7 kB / 0.5172 GB, free: 34.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.3002, allocations: 93.59 kB / 0.5173 GB, free: 34.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.3002, allocations: 20.56 kB / 0.5173 GB, free: 34.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.3002, allocations: 0 / 0.5173 GB, free: 34.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.383e-05/0.3003, allocations: 320.3 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3004, allocations: 46.38 kB / 0.5176 GB, free: 34.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.3005, allocations: 51.91 kB / 0.5177 GB, free: 33.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.3007, allocations: 93.73 kB / 0.5178 GB, free: 33.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3007, allocations: 4.031 kB / 0.5178 GB, free: 33.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002319/0.3009, allocations: 128.2 kB / 0.5179 GB, free: 33.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.301, allocations: 5.594 kB / 0.5179 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.301, allocations: 4 kB / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.301, allocations: 0 / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.3011, allocations: 26.2 kB / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3011, allocations: 0 / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.708e-05/0.3012, allocations: 19.25 kB / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.3012, allocations: 2.75 kB / 0.518 GB, free: 33.89 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 (7): * Single equations (assignments): 7 * 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 5.241e-05/0.3012, allocations: 119.3 kB / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.3013, allocations: 10.62 kB / 0.5181 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.3016, allocations: 145.5 kB / 0.5182 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3016, allocations: 0 / 0.5182 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3016, allocations: 0 / 0.5182 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3016, allocations: 11.06 kB / 0.5182 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003947/0.302, allocations: 402 kB / 0.5186 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.302, allocations: 1.5 kB / 0.5186 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.827e-05/0.3021, allocations: 23.95 kB / 0.5186 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3021, allocations: 1.062 kB / 0.5186 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3021, allocations: 3.938 kB / 0.5186 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3021, allocations: 5.156 kB / 0.5186 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3021, allocations: 0 / 0.5186 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.3024, allocations: 220.1 kB / 0.5189 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.3024, allocations: 86.41 kB / 0.5189 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.3024, allocations: 9.125 kB / 0.5189 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.432e-05/0.3025, allocations: 13.78 kB / 0.519 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.3026, allocations: 10.5 kB / 0.519 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.3026, allocations: 1.094 kB / 0.519 GB, free: 33.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.361e-05/0.3026, allocations: 113.4 kB / 0.5191 GB, free: 32.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3026, allocations: 0 / 0.5191 GB, free: 32.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002384/0.3029, allocations: 25.17 kB / 0.5191 GB, free: 32.98 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 (7): * Single equations (assignments): 7 * 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.0008653/0.3038, allocations: 0.5048 MB / 0.5196 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.304, allocations: 89.05 kB / 0.5197 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.304, allocations: 5.281 kB / 0.5197 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3041, allocations: 50.17 kB / 0.5197 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.3044, allocations: 17.42 kB / 0.5197 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.3047, allocations: 206 kB / 0.5199 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.3049, allocations: 0.6927 MB / 0.5206 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.146e-05/0.3049, allocations: 17.25 kB / 0.5206 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.305, allocations: 17.25 kB / 0.5207 GB, free: 31.77 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.305, allocations: 0 / 0.5207 GB, free: 31.77 MB / 378.7 MB Notification: Performance of Templates: time 0.00335/0.3083, allocations: 1.409 MB / 0.522 GB, free: 31.6 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches