Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 179.1 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.39/1.39, allocations: 225.7 MB / 243.9 MB, free: 8.441 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.0008406/0.0008406, allocations: 92 kB / 295 MB, free: 9.492 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.316/0.316, allocations: 44.32 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003143, allocations: 8 kB / 463.1 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3496, allocations: 61.91 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.001654/0.3513, allocations: 1.309 MB / 0.514 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007252/0.3521, allocations: 485.5 kB / 0.5145 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.282e-05/0.3521, allocations: 6.969 kB / 0.5145 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.3524, allocations: 95.66 kB / 0.5146 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.3526, allocations: 60.12 kB / 0.5146 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.3528, allocations: 102.7 kB / 0.5147 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.353, allocations: 95.2 kB / 0.5148 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3531, allocations: 29.06 kB / 0.5148 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.667e-05/0.3532, allocations: 34.95 kB / 0.5149 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.015e-05/0.3533, allocations: 52.94 kB / 0.5149 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.3533, allocations: 4 kB / 0.5149 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.3534, allocations: 46.02 kB / 0.515 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.3535, allocations: 25.55 kB / 0.515 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.3535, allocations: 54.36 kB / 0.5151 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.3537, allocations: 114.5 kB / 0.5152 GB, free: 36.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3537, allocations: 0 / 0.5152 GB, free: 36.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3537, allocations: 0 / 0.5152 GB, free: 36.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.3537, allocations: 0 / 0.5152 GB, free: 36.28 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003661/0.3541, allocations: 413.6 kB / 0.5156 GB, free: 35.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.3541, allocations: 16.72 kB / 0.5156 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.3541, allocations: 10.84 kB / 0.5156 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.3543, allocations: 220.5 kB / 0.5158 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3543, allocations: 3.219 kB / 0.5158 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.3543, allocations: 10.44 kB / 0.5158 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.3545, allocations: 72.2 kB / 0.5159 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3545, allocations: 3.031 kB / 0.5159 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3545, allocations: 0 / 0.5159 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3545, allocations: 0 / 0.5159 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.3547, allocations: 51.3 kB / 0.5159 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.355, allocations: 340.8 kB / 0.5163 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.3552, allocations: 70.31 kB / 0.5163 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.068e-05/0.3552, allocations: 27.62 kB / 0.5163 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.3552, allocations: 160 / 0.5164 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.3553, allocations: 46.03 kB / 0.5164 GB, free: 35.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.3553, allocations: 0 / 0.5164 GB, free: 35.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009587/0.3562, allocations: 351.4 kB / 0.5167 GB, free: 35.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.3563, allocations: 53.94 kB / 0.5168 GB, free: 34.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.3565, allocations: 225.8 kB / 0.517 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.3565, allocations: 30.7 kB / 0.517 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.3565, allocations: 115.1 kB / 0.5171 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.3566, allocations: 51.48 kB / 0.5172 GB, free: 34.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.3566, allocations: 5.656 kB / 0.5172 GB, free: 34.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.222e-05/0.3566, allocations: 323.8 kB / 0.5175 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.3567, allocations: 46.56 kB / 0.5175 GB, free: 34.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.616e-05/0.3568, allocations: 51.17 kB / 0.5176 GB, free: 34.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.357, allocations: 121 kB / 0.5177 GB, free: 34.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3571, allocations: 3.938 kB / 0.5177 GB, free: 34.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002666/0.3573, allocations: 162.9 kB / 0.5179 GB, free: 34.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3574, allocations: 9.75 kB / 0.5179 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3574, allocations: 0 / 0.5179 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3574, allocations: 3.938 kB / 0.5179 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3575, allocations: 30.27 kB / 0.5179 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3575, allocations: 3.938 kB / 0.5179 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.3576, allocations: 10.06 kB / 0.5179 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3576, allocations: 2.938 kB / 0.5179 GB, free: 34.16 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 (13): * Single equations (assignments): 13 * 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.754e-05/0.3577, allocations: 136.8 kB / 0.5181 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.3577, allocations: 17.12 kB / 0.5181 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.358, allocations: 195.4 kB / 0.5183 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.358, allocations: 2.938 kB / 0.5183 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3581, allocations: 0 / 0.5183 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3581, allocations: 4 kB / 0.5183 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/0.3586, allocations: 0.4956 MB / 0.5187 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3586, allocations: 8.625 kB / 0.5188 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.784e-05/0.3587, allocations: 31.33 kB / 0.5188 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3587, allocations: 1.25 kB / 0.5188 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3587, allocations: 1.766 kB / 0.5188 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3587, allocations: 1.25 kB / 0.5188 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3587, allocations: 2 kB / 0.5188 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.359, allocations: 264.6 kB / 0.519 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.3591, allocations: 91.83 kB / 0.5191 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.3591, allocations: 5.859 kB / 0.5191 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.3592, allocations: 6.703 kB / 0.5191 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.3592, allocations: 8.328 kB / 0.5192 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3592, allocations: 12.61 kB / 0.5192 GB, free: 33.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001315/0.3594, allocations: 170.1 kB / 0.5193 GB, free: 33.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3594, allocations: 0 / 0.5193 GB, free: 33.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.3596, allocations: 32.59 kB / 0.5194 GB, free: 33.14 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 (13): * Single equations (assignments): 13 * 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.001038/0.3607, allocations: 0.5216 MB / 0.5199 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.361, allocations: 123.5 kB / 0.52 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.361, allocations: 2.812 kB / 0.52 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.3611, allocations: 65.83 kB / 0.52 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.3615, allocations: 24.33 kB / 0.5201 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.362, allocations: 361.2 kB / 0.5204 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.3622, allocations: 0.7239 MB / 0.5211 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.98e-05/0.3623, allocations: 29.53 kB / 0.5212 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.3623, allocations: 26.81 kB / 0.5212 GB, free: 31.79 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3623, allocations: 0 / 0.5212 GB, free: 31.79 MB / 378.7 MB Notification: Performance of Templates: time 0.003728/0.3661, allocations: 1.48 MB / 0.5226 GB, free: 31.63 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches