Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, 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.334/1.334, allocations: 225.7 MB / 243.9 MB, free: 8.457 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.000868/0.0008678, allocations: 91.97 kB / 295 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.3429/0.3429, allocations: 44.32 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003046, allocations: 8 kB / 463.1 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3405, allocations: 61.89 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.001673/0.3422, allocations: 1.286 MB / 0.514 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.3434, allocations: 1.131 MB / 0.5151 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.3434, allocations: 2.906 kB / 0.5151 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.3436, allocations: 21.91 kB / 0.5151 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.3438, allocations: 42.95 kB / 0.5152 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.3441, allocations: 98.11 kB / 0.5152 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.3442, allocations: 67.05 kB / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3443, allocations: 21.88 kB / 0.5153 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.3444, allocations: 23.02 kB / 0.5154 GB, free: 36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.3445, allocations: 32.84 kB / 0.5154 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.3445, allocations: 3.906 kB / 0.5154 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.073e-05/0.3446, allocations: 42.44 kB / 0.5154 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.3447, allocations: 15.38 kB / 0.5154 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.3447, allocations: 46.92 kB / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.3449, allocations: 97.38 kB / 0.5156 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3449, allocations: 0 / 0.5156 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3449, allocations: 0.9688 kB / 0.5156 GB, free: 35.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3449, allocations: 0 / 0.5156 GB, free: 35.88 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000375/0.3453, allocations: 382.5 kB / 0.5159 GB, free: 35.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3453, allocations: 8.75 kB / 0.516 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.3454, allocations: 11.08 kB / 0.516 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.3455, allocations: 198.3 kB / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.3455, allocations: 384 / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.3456, allocations: 7.344 kB / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.3457, allocations: 79.02 kB / 0.5162 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3457, allocations: 0 / 0.5162 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3458, allocations: 7.094 kB / 0.5162 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3458, allocations: 4 kB / 0.5163 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.3459, allocations: 42.09 kB / 0.5163 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.3462, allocations: 306.9 kB / 0.5166 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.3464, allocations: 64.95 kB / 0.5166 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.3464, allocations: 23.75 kB / 0.5167 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.3465, allocations: 0 / 0.5167 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.3465, allocations: 33.66 kB / 0.5167 GB, free: 34.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3465, allocations: 0 / 0.5167 GB, free: 34.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005847/0.3471, allocations: 214 kB / 0.5169 GB, free: 34.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.3471, allocations: 77.11 kB / 0.517 GB, free: 34.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3472, allocations: 148.2 kB / 0.5171 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.3473, allocations: 28.58 kB / 0.5171 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.3473, allocations: 98.95 kB / 0.5172 GB, free: 34.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.3473, allocations: 25.33 kB / 0.5173 GB, free: 34.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.3473, allocations: 0 / 0.5173 GB, free: 34.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.3474, allocations: 328.8 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.5e-05/0.3475, allocations: 33.58 kB / 0.5176 GB, free: 34.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.316e-05/0.3476, allocations: 50.12 kB / 0.5177 GB, free: 33.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.3477, allocations: 81.95 kB / 0.5177 GB, free: 33.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3477, allocations: 0 / 0.5177 GB, free: 33.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001863/0.3479, allocations: 111.9 kB / 0.5178 GB, free: 33.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3479, allocations: 10.28 kB / 0.5179 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3479, allocations: 0 / 0.5179 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.348, allocations: 2.844 kB / 0.5179 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.592e-05/0.3481, allocations: 18.52 kB / 0.5179 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3481, allocations: 3.938 kB / 0.5179 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.985e-05/0.3481, allocations: 13.62 kB / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.3481, allocations: 2.75 kB / 0.5179 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 (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.581e-05/0.3482, allocations: 122.6 kB / 0.518 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.3482, allocations: 6.5 kB / 0.518 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.3485, allocations: 139.7 kB / 0.5181 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3485, allocations: 0 / 0.5181 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3485, allocations: 3.938 kB / 0.5182 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3485, allocations: 3.031 kB / 0.5182 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004005/0.3489, allocations: 402.4 kB / 0.5185 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.349, allocations: 5.344 kB / 0.5185 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.629e-05/0.349, allocations: 22.09 kB / 0.5186 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.349, allocations: 5.156 kB / 0.5186 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.3491, allocations: 5.156 kB / 0.5186 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3491, allocations: 0 / 0.5186 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3491, allocations: 1.281 kB / 0.5186 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.3493, allocations: 214.5 kB / 0.5188 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.3493, allocations: 94.3 kB / 0.5189 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.3494, allocations: 1.094 kB / 0.5189 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.3494, allocations: 10 kB / 0.5189 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.3495, allocations: 10.36 kB / 0.5189 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.3495, allocations: 2.219 kB / 0.5189 GB, free: 33.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.291e-05/0.3496, allocations: 110.1 kB / 0.519 GB, free: 32.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3496, allocations: 0 / 0.519 GB, free: 32.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.3498, allocations: 32.5 kB / 0.519 GB, free: 32.96 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 (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.0009665/0.3508, allocations: 0.4929 MB / 0.5195 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.351, allocations: 94.22 kB / 0.5196 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.351, allocations: 0 / 0.5196 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.187e-05/0.3511, allocations: 42.84 kB / 0.5196 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.3514, allocations: 15.53 kB / 0.5197 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/0.352, allocations: 230.9 kB / 0.5199 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.3522, allocations: 0.6981 MB / 0.5206 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.3524, allocations: 24.05 kB / 0.5206 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.3524, allocations: 17.28 kB / 0.5206 GB, free: 31.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3524, allocations: 0 / 0.5206 GB, free: 31.73 MB / 378.7 MB Notification: Performance of Templates: time 0.004071/0.3565, allocations: 1.408 MB / 0.522 GB, free: 31.56 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches