Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 176.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.309/1.309, allocations: 225.7 MB / 243.9 MB, free: 8.461 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.0007857/0.0007857, allocations: 97.75 kB / 295.1 MB, free: 9.48 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.3919/0.3919, allocations: 44.32 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004079, allocations: 16 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.338, allocations: 61.9 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.001479/0.3396, allocations: 1.258 MB / 0.514 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006222/0.3402, allocations: 467.2 kB / 0.5144 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.966e-05/0.3403, allocations: 0 / 0.5144 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.3404, allocations: 19 kB / 0.5144 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.3406, allocations: 29.86 kB / 0.5145 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.3408, allocations: 107.1 kB / 0.5146 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.341, allocations: 59.88 kB / 0.5146 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.073e-05/0.341, allocations: 13.45 kB / 0.5146 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.3411, allocations: 24.42 kB / 0.5147 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.231e-05/0.3411, allocations: 14.3 kB / 0.5147 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.3412, allocations: 2.531 kB / 0.5147 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.756e-05/0.3412, allocations: 23.97 kB / 0.5147 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.3413, allocations: 16 kB / 0.5147 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.3413, allocations: 44.22 kB / 0.5148 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.3414, allocations: 71.84 kB / 0.5148 GB, free: 36.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3415, allocations: 0 / 0.5148 GB, free: 36.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3415, allocations: 0 / 0.5148 GB, free: 36.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3415, allocations: 0 / 0.5148 GB, free: 36.4 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.0003714/0.3419, allocations: 370.4 kB / 0.5152 GB, free: 36.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.3419, allocations: 7.875 kB / 0.5152 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.3419, allocations: 7.594 kB / 0.5152 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.3421, allocations: 190.6 kB / 0.5154 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.3421, allocations: 3.219 kB / 0.5154 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.3421, allocations: 4.375 kB / 0.5154 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.3422, allocations: 59.94 kB / 0.5154 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3422, allocations: 7 kB / 0.5154 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.3423, allocations: 4 kB / 0.5154 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.3423, allocations: 0 / 0.5154 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.208e-05/0.3424, allocations: 28.64 kB / 0.5155 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.3426, allocations: 281.4 kB / 0.5157 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.3428, allocations: 46.33 kB / 0.5158 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.3429, allocations: 21.02 kB / 0.5158 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.3429, allocations: 4 kB / 0.5158 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.152e-05/0.3429, allocations: 30.56 kB / 0.5158 GB, free: 35.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3429, allocations: 0 / 0.5158 GB, free: 35.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005018/0.3434, allocations: 167.9 kB / 0.516 GB, free: 35.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.3435, allocations: 55.41 kB / 0.5161 GB, free: 35.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.3436, allocations: 142.5 kB / 0.5162 GB, free: 35.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.3436, allocations: 25.7 kB / 0.5162 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.3437, allocations: 87.05 kB / 0.5163 GB, free: 35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.3437, allocations: 22.55 kB / 0.5163 GB, free: 34.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.3437, allocations: 0 / 0.5163 GB, free: 34.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.3438, allocations: 325.8 kB / 0.5166 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.019e-05/0.3439, allocations: 25.56 kB / 0.5167 GB, free: 34.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.3439, allocations: 22 kB / 0.5167 GB, free: 34.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.3441, allocations: 69.97 kB / 0.5167 GB, free: 34.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3441, allocations: 0 / 0.5167 GB, free: 34.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001679/0.3443, allocations: 97.58 kB / 0.5168 GB, free: 34.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3443, allocations: 6.594 kB / 0.5168 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3443, allocations: 0 / 0.5168 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3443, allocations: 4 kB / 0.5168 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/0.3444, allocations: 15.16 kB / 0.5169 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3444, allocations: 0 / 0.5169 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.061e-05/0.3444, allocations: 7.531 kB / 0.5169 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3445, allocations: 0 / 0.5169 GB, free: 34.57 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 (5): * Single equations (assignments): 5 * 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 7.507e-05/0.3445, allocations: 121.1 kB / 0.517 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.3446, allocations: 7.25 kB / 0.517 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.3448, allocations: 108.6 kB / 0.5171 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3448, allocations: 1.156 kB / 0.5171 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3449, allocations: 0 / 0.5171 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3449, allocations: 6.188 kB / 0.5171 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.3453, allocations: 362.6 kB / 0.5174 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3453, allocations: 1 kB / 0.5174 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-05/0.3454, allocations: 13.78 kB / 0.5175 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.3454, allocations: 0.75 kB / 0.5175 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.3454, allocations: 1.031 kB / 0.5175 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3454, allocations: 5.031 kB / 0.5175 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3454, allocations: 4.75 kB / 0.5175 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.3457, allocations: 187.9 kB / 0.5176 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.3457, allocations: 85.2 kB / 0.5177 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.3458, allocations: 5.047 kB / 0.5177 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.3458, allocations: 19.22 kB / 0.5178 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.3459, allocations: 4 kB / 0.5178 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.3459, allocations: 2.031 kB / 0.5178 GB, free: 33.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.583e-05/0.346, allocations: 117.1 kB / 0.5179 GB, free: 33.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.346, allocations: 1.031 kB / 0.5179 GB, free: 33.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.3462, allocations: 15.25 kB / 0.5179 GB, free: 33.69 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 (5): * Single equations (assignments): 5 * 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.0009466/0.3472, allocations: 453.7 kB / 0.5183 GB, free: 33.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.3474, allocations: 67.78 kB / 0.5184 GB, free: 33.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3474, allocations: 0 / 0.5184 GB, free: 33.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.398e-05/0.3475, allocations: 33.06 kB / 0.5184 GB, free: 33.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.3479, allocations: 20.81 kB / 0.5184 GB, free: 33.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.3483, allocations: 195.6 kB / 0.5186 GB, free: 33.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.3484, allocations: 0.6978 MB / 0.5193 GB, free: 32.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.74e-05/0.3485, allocations: 17.2 kB / 0.5193 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.3485, allocations: 13.5 kB / 0.5193 GB, free: 32.52 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3485, allocations: 0 / 0.5193 GB, free: 32.52 MB / 378.7 MB Notification: Performance of Templates: time 0.003191/0.3517, allocations: 1.048 MB / 0.5204 GB, free: 32.37 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches