Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 174.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.279/1.279, allocations: 225.7 MB / 243.9 MB, free: 8.453 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.0007649/0.0007646, allocations: 88.27 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.3084/0.3084, allocations: 44.32 MB / 390.5 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003036, allocations: 15.92 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3406, allocations: 61.9 MB / 0.5127 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001783/0.3424, allocations: 1.282 MB / 0.514 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006072/0.343, allocations: 464.5 kB / 0.5144 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.279e-05/0.3431, allocations: 0 / 0.5144 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.3434, allocations: 70.27 kB / 0.5145 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.3435, allocations: 54.44 kB / 0.5146 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.3438, allocations: 73.23 kB / 0.5146 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.3439, allocations: 73.66 kB / 0.5147 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.344, allocations: 24.05 kB / 0.5147 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.068e-05/0.3441, allocations: 22.31 kB / 0.5147 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.752e-05/0.3442, allocations: 45.48 kB / 0.5148 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.3442, allocations: 0 / 0.5148 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.066e-05/0.3443, allocations: 37.69 kB / 0.5148 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.3443, allocations: 19.97 kB / 0.5148 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.433e-05/0.3444, allocations: 55.66 kB / 0.5149 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.3445, allocations: 95.56 kB / 0.515 GB, free: 36.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3446, allocations: 0 / 0.515 GB, free: 36.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3446, allocations: 0 / 0.515 GB, free: 36.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3446, allocations: 0 / 0.515 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004422/0.345, allocations: 398 kB / 0.5154 GB, free: 35.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3451, allocations: 10.47 kB / 0.5154 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.3451, allocations: 10.38 kB / 0.5154 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.3453, allocations: 192.4 kB / 0.5156 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3453, allocations: 384 / 0.5156 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.3453, allocations: 3.812 kB / 0.5156 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.3455, allocations: 61.92 kB / 0.5156 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.3455, allocations: 4 kB / 0.5156 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3456, allocations: 0 / 0.5156 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3456, allocations: 2.625 kB / 0.5156 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.3457, allocations: 27.02 kB / 0.5157 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.346, allocations: 294.8 kB / 0.5159 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.901e-05/0.3461, allocations: 51.61 kB / 0.516 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.3462, allocations: 23.06 kB / 0.516 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3462, allocations: 0 / 0.516 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.3462, allocations: 30.56 kB / 0.516 GB, free: 35.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3462, allocations: 0 / 0.516 GB, free: 35.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008047/0.3471, allocations: 251.9 kB / 0.5163 GB, free: 35.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.3471, allocations: 51.41 kB / 0.5163 GB, free: 35.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.3472, allocations: 196.6 kB / 0.5165 GB, free: 35.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.3473, allocations: 29.7 kB / 0.5165 GB, free: 35.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.3473, allocations: 108.8 kB / 0.5166 GB, free: 34.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.3473, allocations: 21.41 kB / 0.5167 GB, free: 34.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.3473, allocations: 7.938 kB / 0.5167 GB, free: 34.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.3474, allocations: 320.8 kB / 0.517 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.032e-05/0.3475, allocations: 23.97 kB / 0.517 GB, free: 34.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.3475, allocations: 41.22 kB / 0.517 GB, free: 34.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.3477, allocations: 73.83 kB / 0.5171 GB, free: 34.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3477, allocations: 0 / 0.5171 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000173/0.3479, allocations: 104.2 kB / 0.5172 GB, free: 34.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3479, allocations: 9.875 kB / 0.5172 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3479, allocations: 0 / 0.5172 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3479, allocations: 0 / 0.5172 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.215e-05/0.348, allocations: 18.02 kB / 0.5172 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.348, allocations: 10.81 kB / 0.5172 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.92e-05/0.3481, allocations: 14.25 kB / 0.5173 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.3481, allocations: 3 kB / 0.5173 GB, free: 34.45 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 6.59e-05/0.3481, allocations: 125.8 kB / 0.5174 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.3482, allocations: 9.812 kB / 0.5174 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.3484, allocations: 120.1 kB / 0.5175 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3484, allocations: 1.156 kB / 0.5175 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3485, allocations: 5.188 kB / 0.5175 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3485, allocations: 3.328 kB / 0.5175 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.3489, allocations: 406.6 kB / 0.5179 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3489, allocations: 0 / 0.5179 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.021e-05/0.349, allocations: 31.33 kB / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.349, allocations: 0 / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.349, allocations: 2.625 kB / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.349, allocations: 0 / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.349, allocations: 1.562 kB / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.3492, allocations: 220 kB / 0.5182 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.3493, allocations: 91.27 kB / 0.5182 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.3493, allocations: 1.531 kB / 0.5182 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.3494, allocations: 8.125 kB / 0.5182 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.3494, allocations: 11.28 kB / 0.5183 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.3494, allocations: 2.031 kB / 0.5183 GB, free: 33.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001382/0.3496, allocations: 147 kB / 0.5184 GB, free: 33.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3496, allocations: 4 kB / 0.5184 GB, free: 33.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003537/0.35, allocations: 16.97 kB / 0.5184 GB, free: 33.51 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.0009802/0.3509, allocations: 0.514 MB / 0.5189 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.3512, allocations: 71.25 kB / 0.519 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3512, allocations: 0 / 0.519 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/0.3513, allocations: 45.72 kB / 0.519 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.3516, allocations: 21.08 kB / 0.5191 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.352, allocations: 263.6 kB / 0.5193 GB, free: 32.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.3522, allocations: 0.7105 MB / 0.52 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.067e-05/0.3522, allocations: 17.95 kB / 0.52 GB, free: 32.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.3522, allocations: 13.53 kB / 0.52 GB, free: 32.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3523, allocations: 0 / 0.52 GB, free: 32.25 MB / 378.7 MB Notification: Performance of Templates: time 0.00339/0.3556, allocations: 1.245 MB / 0.5212 GB, free: 32.1 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches