Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.Test19") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001061, 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.314/1.314, allocations: 225.7 MB / 243.9 MB, free: 8.449 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.0008445/0.0008447, allocations: 97.47 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.3117/0.3117, allocations: 44.32 MB / 390.5 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003342, allocations: 12 kB / 463.1 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3567, allocations: 61.9 MB / 0.5127 GB, free: 37.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.001517/0.3583, allocations: 1.265 MB / 0.514 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3594, allocations: 1.135 MB / 0.5151 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.3595, allocations: 0 / 0.5151 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.3597, allocations: 31.19 kB / 0.5151 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.3598, allocations: 31.81 kB / 0.5151 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.3601, allocations: 99.33 kB / 0.5152 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.3602, allocations: 54.05 kB / 0.5153 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.3603, allocations: 9.594 kB / 0.5153 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.919e-05/0.3603, allocations: 23.81 kB / 0.5153 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.3604, allocations: 24.05 kB / 0.5153 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.3605, allocations: 0 / 0.5153 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.374e-05/0.3606, allocations: 45.08 kB / 0.5154 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.3606, allocations: 13.97 kB / 0.5154 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.3607, allocations: 43.61 kB / 0.5154 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.3608, allocations: 82.98 kB / 0.5155 GB, free: 35.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3608, allocations: 0 / 0.5155 GB, free: 35.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3608, allocations: 2.781 kB / 0.5155 GB, free: 35.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3608, allocations: 0 / 0.5155 GB, free: 35.94 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.0003645/0.3612, allocations: 373 kB / 0.5159 GB, free: 35.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3612, allocations: 8.812 kB / 0.5159 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.3613, allocations: 7.781 kB / 0.5159 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3614, allocations: 191.4 kB / 0.5161 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.832e-06/0.3614, allocations: 384 / 0.5161 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.3615, allocations: 3.438 kB / 0.5161 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.3616, allocations: 66.22 kB / 0.5161 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3616, allocations: 6.562 kB / 0.5161 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.3616, allocations: 0 / 0.5161 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.3616, allocations: 0 / 0.5161 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.716e-05/0.3617, allocations: 27.28 kB / 0.5162 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.3621, allocations: 286.1 kB / 0.5164 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.3622, allocations: 56.31 kB / 0.5165 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.665e-05/0.3623, allocations: 16.17 kB / 0.5165 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.3623, allocations: 7.406 kB / 0.5165 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.3623, allocations: 34.56 kB / 0.5166 GB, free: 34.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.823e-06/0.3624, allocations: 4 kB / 0.5166 GB, free: 34.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005259/0.3629, allocations: 159.7 kB / 0.5167 GB, free: 34.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.3629, allocations: 84.25 kB / 0.5168 GB, free: 34.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.491e-05/0.363, allocations: 143.5 kB / 0.5169 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.176e-06/0.3631, allocations: 25.7 kB / 0.517 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.3631, allocations: 98.12 kB / 0.517 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.3631, allocations: 14.38 kB / 0.5171 GB, free: 34.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.3631, allocations: 4 kB / 0.5171 GB, free: 34.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.393e-05/0.3632, allocations: 320.5 kB / 0.5174 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.982e-05/0.3633, allocations: 24.92 kB / 0.5174 GB, free: 34.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.3633, allocations: 44.31 kB / 0.5174 GB, free: 34.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.3635, allocations: 51.83 kB / 0.5175 GB, free: 34.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3635, allocations: 4.031 kB / 0.5175 GB, free: 34.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001548/0.3636, allocations: 96.41 kB / 0.5176 GB, free: 34.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3636, allocations: 5.25 kB / 0.5176 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3637, allocations: 3.938 kB / 0.5176 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3637, allocations: 0 / 0.5176 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/0.3637, allocations: 18.28 kB / 0.5176 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3638, allocations: 0 / 0.5176 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.983e-05/0.3638, allocations: 9.156 kB / 0.5176 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.3638, allocations: 2.625 kB / 0.5176 GB, free: 34.04 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 5.702e-05/0.3639, allocations: 120.2 kB / 0.5177 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.3639, allocations: 7.094 kB / 0.5177 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.3641, allocations: 106.5 kB / 0.5178 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3641, allocations: 0 / 0.5178 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3641, allocations: 3.938 kB / 0.5178 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3641, allocations: 0 / 0.5178 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.3645, allocations: 364.3 kB / 0.5182 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3645, allocations: 384 / 0.5182 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/0.3645, allocations: 11.66 kB / 0.5182 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3646, allocations: 0 / 0.5182 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.3646, allocations: 11.22 kB / 0.5182 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3646, allocations: 3.938 kB / 0.5182 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3646, allocations: 3 kB / 0.5182 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.3648, allocations: 188.3 kB / 0.5184 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.3649, allocations: 90.23 kB / 0.5185 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.3649, allocations: 1.062 kB / 0.5185 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.87e-05/0.3649, allocations: 9.969 kB / 0.5185 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.365, allocations: 9.062 kB / 0.5185 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.365, allocations: 2.156 kB / 0.5185 GB, free: 33.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.347e-05/0.3651, allocations: 103.8 kB / 0.5186 GB, free: 33.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3651, allocations: 0 / 0.5186 GB, free: 33.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.3653, allocations: 19.94 kB / 0.5186 GB, free: 33.16 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.001011/0.3663, allocations: 0.5114 MB / 0.5191 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.3666, allocations: 63.25 kB / 0.5192 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3666, allocations: 1.375 kB / 0.5192 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.378e-05/0.3667, allocations: 34.2 kB / 0.5192 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.367, allocations: 18.7 kB / 0.5192 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.3674, allocations: 170.5 kB / 0.5194 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.3675, allocations: 0.6924 MB / 0.5201 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.963e-05/0.3676, allocations: 17.66 kB / 0.5201 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.3677, allocations: 22.02 kB / 0.5201 GB, free: 31.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3677, allocations: 0 / 0.5201 GB, free: 31.96 MB / 378.7 MB Notification: Performance of Templates: time 0.003633/0.3713, allocations: 1.315 MB / 0.5214 GB, free: 31.8 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches