Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 178.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.339/1.339, 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.0009193/0.0009196, allocations: 87.39 kB / 295 MB, free: 9.715 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.3585/0.3585, allocations: 44.32 MB / 390.5 MB, free: 38.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003209, allocations: 12 kB / 463.1 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3223, allocations: 61.9 MB / 0.5127 GB, free: 38.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.0018/0.3241, allocations: 1.286 MB / 0.514 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006796/0.3248, allocations: 469.3 kB / 0.5144 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.353e-05/0.3249, allocations: 0 / 0.5144 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.3254, allocations: 450.3 kB / 0.5149 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.3257, allocations: 242.8 kB / 0.5151 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.3261, allocations: 120.5 kB / 0.5152 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00025/0.3263, allocations: 152 kB / 0.5154 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3265, allocations: 13.3 kB / 0.5154 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.3266, allocations: 98.81 kB / 0.5155 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.3268, allocations: 207.1 kB / 0.5157 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.3269, allocations: 2.719 kB / 0.5157 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.79e-05/0.327, allocations: 18.22 kB / 0.5157 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.3271, allocations: 82.34 kB / 0.5158 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.585e-05/0.3272, allocations: 124.2 kB / 0.5159 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.3274, allocations: 232 kB / 0.5161 GB, free: 36.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3274, allocations: 3.938 kB / 0.5161 GB, free: 36.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3274, allocations: 0 / 0.5161 GB, free: 36.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.3274, allocations: 4 kB / 0.5161 GB, free: 36.31 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006675/0.3281, allocations: 0.5844 MB / 0.5167 GB, free: 35.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3282, allocations: 9.844 kB / 0.5167 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.3282, allocations: 38.06 kB / 0.5167 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.3285, allocations: 291.5 kB / 0.517 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.3285, allocations: 1.75 kB / 0.517 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.3285, allocations: 9.562 kB / 0.517 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.3287, allocations: 62.45 kB / 0.5171 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3287, allocations: 0 / 0.5171 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.3287, allocations: 0 / 0.5171 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3287, allocations: 0 / 0.5171 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.3289, allocations: 41.08 kB / 0.5171 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.3294, allocations: 374.5 kB / 0.5175 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.3295, allocations: 45.36 kB / 0.5175 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.934e-05/0.3296, allocations: 30.62 kB / 0.5175 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.3296, allocations: 0 / 0.5175 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.3296, allocations: 32.08 kB / 0.5176 GB, free: 35.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.3296, allocations: 1.031 kB / 0.5176 GB, free: 35.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003316/0.33, allocations: 133.2 kB / 0.5177 GB, free: 34.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.33, allocations: 56.41 kB / 0.5178 GB, free: 34.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007211/0.3307, allocations: 0.8483 MB / 0.5186 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.3307, allocations: 25.7 kB / 0.5186 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.3309, allocations: 210.6 kB / 0.5188 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.3309, allocations: 12.19 kB / 0.5188 GB, free: 34.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.3309, allocations: 0 / 0.5188 GB, free: 34.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.675e-05/0.331, allocations: 368.9 kB / 0.5192 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.592e-05/0.3311, allocations: 19.64 kB / 0.5192 GB, free: 34.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.409e-05/0.3311, allocations: 15.36 kB / 0.5192 GB, free: 34.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.3313, allocations: 49.09 kB / 0.5192 GB, free: 34.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3313, allocations: 0.7031 kB / 0.5193 GB, free: 34.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001809/0.3315, allocations: 108.6 kB / 0.5194 GB, free: 33.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3315, allocations: 9.594 kB / 0.5194 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3315, allocations: 8.734 kB / 0.5194 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3315, allocations: 4 kB / 0.5194 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.619e-05/0.3316, allocations: 11.19 kB / 0.5194 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.3316, allocations: 0 / 0.5194 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.071e-05/0.3317, allocations: 8.797 kB / 0.5194 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.3317, allocations: 0 / 0.5194 GB, free: 33.94 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 (3): * Single equations (assignments): 3 * 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.0001436/0.3318, allocations: 217.8 kB / 0.5196 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.3319, allocations: 41.09 kB / 0.5196 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.3321, allocations: 136.2 kB / 0.5198 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.3321, allocations: 0 / 0.5198 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3321, allocations: 0 / 0.5198 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3321, allocations: 3.75 kB / 0.5198 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.3323, allocations: 280.8 kB / 0.52 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3324, allocations: 3.938 kB / 0.52 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.017e-05/0.3324, allocations: 19.69 kB / 0.5201 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3324, allocations: 0 / 0.5201 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.3324, allocations: 0 / 0.5201 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3324, allocations: 0 / 0.5201 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3324, allocations: 2.719 kB / 0.5201 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.3326, allocations: 207.3 kB / 0.5203 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.3327, allocations: 111.9 kB / 0.5204 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.3327, allocations: 2.656 kB / 0.5204 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.3328, allocations: 5.188 kB / 0.5204 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.3328, allocations: 3.328 kB / 0.5204 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.3329, allocations: 2.812 kB / 0.5204 GB, free: 33.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004302/0.3333, allocations: 0.6398 MB / 0.521 GB, free: 32.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3333, allocations: 2.719 kB / 0.521 GB, free: 32.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.3335, allocations: 17.91 kB / 0.521 GB, free: 32.94 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 (3): * Single equations (assignments): 3 * 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.0007144/0.3342, allocations: 402.7 kB / 0.5214 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.3344, allocations: 54.17 kB / 0.5215 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3344, allocations: 0 / 0.5215 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.881e-05/0.3345, allocations: 17.06 kB / 0.5215 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.3349, allocations: 25.88 kB / 0.5215 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009279/0.3358, allocations: 0.8389 MB / 0.5223 GB, free: 32.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.3361, allocations: 0.8268 MB / 0.5231 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.913e-05/0.3361, allocations: 6.859 kB / 0.5231 GB, free: 31.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.3361, allocations: 13.22 kB / 0.5232 GB, free: 31.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3361, allocations: 0 / 0.5232 GB, free: 31.52 MB / 378.7 MB Notification: Performance of Templates: time 0.003988/0.3401, allocations: 1.203 MB / 0.5243 GB, free: 31.36 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches