Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,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.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,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.CombiTable1Dv.Test28") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009601/0.0009601, allocations: 174.1 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.354/1.354, 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.0007586/0.0007586, allocations: 93.67 kB / 295 MB, free: 9.488 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.3553/0.3553, allocations: 44.31 MB / 390.5 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003438, allocations: 12 kB / 463.1 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3497, allocations: 61.91 MB / 0.5127 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.001696/0.3515, allocations: 1.281 MB / 0.514 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007135/0.3522, allocations: 465.3 kB / 0.5144 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.3523, allocations: 2.719 kB / 0.5144 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.3525, allocations: 107.5 kB / 0.5145 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.3527, allocations: 70.39 kB / 0.5146 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.353, allocations: 110.7 kB / 0.5147 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.3531, allocations: 81.38 kB / 0.5148 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3532, allocations: 16.02 kB / 0.5148 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.951e-05/0.3533, allocations: 30.7 kB / 0.5148 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.638e-05/0.3534, allocations: 62.89 kB / 0.5149 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.3534, allocations: 0 / 0.5149 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.814e-05/0.3535, allocations: 40.03 kB / 0.5149 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.3535, allocations: 22.84 kB / 0.515 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.3536, allocations: 61.2 kB / 0.515 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.3537, allocations: 102 kB / 0.5151 GB, free: 36.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3538, allocations: 0 / 0.5151 GB, free: 36.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3538, allocations: 0 / 0.5151 GB, free: 36.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.3538, allocations: 2.531 kB / 0.5151 GB, free: 36.21 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.0003807/0.3542, allocations: 409.7 kB / 0.5155 GB, free: 35.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3542, allocations: 8.875 kB / 0.5155 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.3542, allocations: 14.5 kB / 0.5155 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.3544, allocations: 210.7 kB / 0.5157 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3544, allocations: 384 / 0.5157 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3544, allocations: 3.469 kB / 0.5157 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.3546, allocations: 64.16 kB / 0.5158 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3546, allocations: 0 / 0.5158 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3546, allocations: 7 kB / 0.5158 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3546, allocations: 0 / 0.5158 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.846e-05/0.3547, allocations: 33.88 kB / 0.5158 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.3551, allocations: 305 kB / 0.5161 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.307e-05/0.3552, allocations: 50.02 kB / 0.5162 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.3552, allocations: 23 kB / 0.5162 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.3552, allocations: 0 / 0.5162 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.3553, allocations: 30.56 kB / 0.5162 GB, free: 35.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3553, allocations: 2.969 kB / 0.5162 GB, free: 35.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008415/0.3561, allocations: 274.4 kB / 0.5165 GB, free: 35.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.3562, allocations: 51.41 kB / 0.5165 GB, free: 34.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.3563, allocations: 242.4 kB / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.3563, allocations: 29.7 kB / 0.5168 GB, free: 34.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.3564, allocations: 109.3 kB / 0.5169 GB, free: 34.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.3564, allocations: 29.7 kB / 0.5169 GB, free: 34.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-06/0.3564, allocations: 3.094 kB / 0.5169 GB, free: 34.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.3565, allocations: 328.4 kB / 0.5172 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.3566, allocations: 36.69 kB / 0.5173 GB, free: 34.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.508e-05/0.3567, allocations: 35.12 kB / 0.5173 GB, free: 34.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.3568, allocations: 85.39 kB / 0.5174 GB, free: 34.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3568, allocations: 0 / 0.5174 GB, free: 34.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002015/0.357, allocations: 124.7 kB / 0.5175 GB, free: 34.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3571, allocations: 8.719 kB / 0.5175 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3571, allocations: 0 / 0.5175 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.3571, allocations: 1.188 kB / 0.5175 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3572, allocations: 22.5 kB / 0.5175 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3572, allocations: 3.938 kB / 0.5175 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.3573, allocations: 12.84 kB / 0.5176 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.3573, allocations: 2.625 kB / 0.5176 GB, free: 34.21 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 8.3e-05/0.3574, allocations: 134.8 kB / 0.5177 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.3574, allocations: 9.719 kB / 0.5177 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.3577, allocations: 146.3 kB / 0.5178 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3577, allocations: 1.5 kB / 0.5178 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3577, allocations: 3.938 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3577, allocations: 0 / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.3582, allocations: 433.6 kB / 0.5183 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3582, allocations: 0 / 0.5183 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.3583, allocations: 27.86 kB / 0.5183 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.3583, allocations: 0.5625 kB / 0.5183 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3583, allocations: 2.312 kB / 0.5183 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3583, allocations: 1.766 kB / 0.5183 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3583, allocations: 0 / 0.5183 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.3586, allocations: 221.4 kB / 0.5185 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.3586, allocations: 95.17 kB / 0.5186 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.3587, allocations: 1.906 kB / 0.5186 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.3587, allocations: 10.09 kB / 0.5186 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.3588, allocations: 6.016 kB / 0.5186 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.3588, allocations: 2.609 kB / 0.5186 GB, free: 33.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.359, allocations: 186.3 kB / 0.5188 GB, free: 33.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.359, allocations: 6.906 kB / 0.5188 GB, free: 33.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002172/0.3592, allocations: 20.08 kB / 0.5188 GB, free: 33.25 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.001026/0.3602, allocations: 0.507 MB / 0.5193 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.3605, allocations: 87.95 kB / 0.5194 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3605, allocations: 0 / 0.5194 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.545e-05/0.3606, allocations: 41.58 kB / 0.5194 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.3609, allocations: 27.27 kB / 0.5195 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.3613, allocations: 329.3 kB / 0.5198 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.3615, allocations: 0.7185 MB / 0.5205 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.289e-05/0.3616, allocations: 22.16 kB / 0.5205 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.3616, allocations: 13.12 kB / 0.5205 GB, free: 31.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3616, allocations: 0 / 0.5205 GB, free: 31.96 MB / 378.7 MB Notification: Performance of Templates: time 0.003633/0.3652, allocations: 1.304 MB / 0.5218 GB, free: 31.8 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches