Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009661/0.0009659, allocations: 173.2 kB / 17.41 MB, free: 4.387 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.437/1.437, 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.0009985/0.0009985, allocations: 91.16 kB / 295.1 MB, free: 9.734 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.3361/0.3361, allocations: 44.33 MB / 390.5 MB, free: 38.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004007, allocations: 16 kB / 463.1 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3046, allocations: 61.9 MB / 0.5127 GB, free: 38.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.001659/0.3063, allocations: 1.692 MB / 0.5144 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3077, allocations: 1.173 MB / 0.5155 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.094e-05/0.3077, allocations: 2.812 kB / 0.5155 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.3079, allocations: 39.91 kB / 0.5156 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.3082, allocations: 138.2 kB / 0.5157 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009897/0.3092, allocations: 0.5698 MB / 0.5163 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.3095, allocations: 288 kB / 0.5165 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3096, allocations: 74.27 kB / 0.5166 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.3097, allocations: 115 kB / 0.5167 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.3099, allocations: 174.1 kB / 0.5169 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.3099, allocations: 9.656 kB / 0.5169 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.161e-05/0.31, allocations: 53.34 kB / 0.517 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.3101, allocations: 140.5 kB / 0.5171 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.274e-05/0.3102, allocations: 172.5 kB / 0.5172 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.3105, allocations: 373.6 kB / 0.5176 GB, free: 35.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3105, allocations: 0 / 0.5176 GB, free: 35.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3105, allocations: 0 / 0.5176 GB, free: 35.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3105, allocations: 0 / 0.5176 GB, free: 35.09 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007221/0.3113, allocations: 0.7027 MB / 0.5183 GB, free: 34.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.3113, allocations: 9.812 kB / 0.5183 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.69e-05/0.3114, allocations: 60.11 kB / 0.5184 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.3118, allocations: 455.1 kB / 0.5188 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.3118, allocations: 8.719 kB / 0.5188 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.3119, allocations: 18.66 kB / 0.5188 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.3122, allocations: 166.5 kB / 0.519 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3122, allocations: 0 / 0.519 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.3122, allocations: 5.594 kB / 0.519 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3122, allocations: 5.656 kB / 0.519 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.3125, allocations: 133.2 kB / 0.5191 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007378/0.3133, allocations: 0.7164 MB / 0.5198 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.3135, allocations: 145.3 kB / 0.52 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.3136, allocations: 80.03 kB / 0.52 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.3137, allocations: 3.219 kB / 0.52 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.302e-05/0.3137, allocations: 38.56 kB / 0.5201 GB, free: 33.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.3137, allocations: 3.938 kB / 0.5201 GB, free: 33.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001704/0.3154, allocations: 0.8 MB / 0.5209 GB, free: 33.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.3155, allocations: 79.83 kB / 0.5209 GB, free: 33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006385/0.3161, allocations: 0.8511 MB / 0.5218 GB, free: 32.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.3161, allocations: 32.55 kB / 0.5218 GB, free: 32.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.3163, allocations: 249.1 kB / 0.522 GB, free: 32.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.3163, allocations: 66.98 kB / 0.5221 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.3163, allocations: 7 kB / 0.5221 GB, free: 32.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.3164, allocations: 373.2 kB / 0.5225 GB, free: 32.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.3167, allocations: 124.4 kB / 0.5226 GB, free: 32.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.3169, allocations: 145.9 kB / 0.5227 GB, free: 32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.3174, allocations: 283.9 kB / 0.523 GB, free: 31.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3174, allocations: 3.938 kB / 0.523 GB, free: 31.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005905/0.318, allocations: 367.6 kB / 0.5233 GB, free: 31.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.318, allocations: 5.938 kB / 0.5233 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3181, allocations: 8.062 kB / 0.5234 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3181, allocations: 3.031 kB / 0.5234 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.3183, allocations: 57.95 kB / 0.5234 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3184, allocations: 6.719 kB / 0.5234 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.3185, allocations: 33.56 kB / 0.5234 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.3186, allocations: 9.266 kB / 0.5235 GB, free: 31.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0001643/0.3187, allocations: 216.3 kB / 0.5237 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/0.3188, allocations: 52.97 kB / 0.5237 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007555/0.3196, allocations: 429.7 kB / 0.5241 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3196, allocations: 3 kB / 0.5241 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3196, allocations: 0 / 0.5241 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3196, allocations: 0 / 0.5241 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.3208, allocations: 0.9741 MB / 0.5251 GB, free: 30.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3208, allocations: 0 / 0.5251 GB, free: 30.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.321, allocations: 68.03 kB / 0.5251 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.321, allocations: 3.938 kB / 0.5251 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.3211, allocations: 10.17 kB / 0.5252 GB, free: 30.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3211, allocations: 6.844 kB / 0.5252 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3211, allocations: 0 / 0.5252 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005942/0.3217, allocations: 0.5394 MB / 0.5257 GB, free: 30.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.3218, allocations: 143.7 kB / 0.5258 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.3218, allocations: 6.078 kB / 0.5258 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.3221, allocations: 38.56 kB / 0.5259 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.3221, allocations: 17.62 kB / 0.5259 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.3222, allocations: 12.61 kB / 0.5259 GB, free: 30.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004767/0.3226, allocations: 0.6163 MB / 0.5265 GB, free: 30.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3226, allocations: 0 / 0.5265 GB, free: 30.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003081/0.323, allocations: 58.59 kB / 0.5266 GB, free: 30.18 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 (20): * Single equations (assignments): 20 * 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.0007711/0.3237, allocations: 474.4 kB / 0.527 GB, free: 29.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005832/0.3243, allocations: 292.6 kB / 0.5273 GB, free: 29.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3243, allocations: 0 / 0.5273 GB, free: 29.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.3246, allocations: 159.7 kB / 0.5274 GB, free: 29.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/0.3252, allocations: 69.72 kB / 0.5275 GB, free: 29.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.3263, allocations: 1.122 MB / 0.5286 GB, free: 29.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.3265, allocations: 0.8773 MB / 0.5295 GB, free: 28.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001984/0.3267, allocations: 99.09 kB / 0.5296 GB, free: 28.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.539e-05/0.3268, allocations: 46.05 kB / 0.5296 GB, free: 28.42 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3268, allocations: 0 / 0.5296 GB, free: 28.42 MB / 378.7 MB Notification: Performance of Templates: time 0.006864/0.3337, allocations: 4.03 MB / 0.5335 GB, free: 28.09 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches