Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 177.9 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.338/1.338, allocations: 225.7 MB / 243.9 MB, free: 8.438 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.0007914/0.0007914, allocations: 88.88 kB / 295 MB, free: 9.473 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.3685/0.3685, allocations: 44.32 MB / 390.5 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003554, allocations: 15.94 kB / 463.1 MB, free: 440 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3543, allocations: 61.89 MB / 0.5127 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001749/0.3561, allocations: 1.29 MB / 0.514 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007281/0.3568, allocations: 457.2 kB / 0.5144 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/0.3569, allocations: 0 / 0.5144 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.3572, allocations: 125.1 kB / 0.5146 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.3573, allocations: 74.33 kB / 0.5146 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.3576, allocations: 90.34 kB / 0.5147 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.3577, allocations: 88.41 kB / 0.5148 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3579, allocations: 12.23 kB / 0.5148 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.287e-05/0.3579, allocations: 37.25 kB / 0.5148 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.3581, allocations: 77.62 kB / 0.5149 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3581, allocations: 6.906 kB / 0.5149 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.848e-05/0.3582, allocations: 35.44 kB / 0.515 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.3583, allocations: 28.55 kB / 0.515 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.3583, allocations: 60.02 kB / 0.515 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.3585, allocations: 109.6 kB / 0.5151 GB, free: 36.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3585, allocations: 0 / 0.5151 GB, free: 36.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3585, allocations: 1.031 kB / 0.5151 GB, free: 36.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.3585, allocations: 0 / 0.5151 GB, free: 36.24 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.0004285/0.3589, allocations: 419.1 kB / 0.5155 GB, free: 35.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.359, allocations: 13.31 kB / 0.5156 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.359, allocations: 15.62 kB / 0.5156 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.3592, allocations: 203.4 kB / 0.5158 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3592, allocations: 5.594 kB / 0.5158 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.3592, allocations: 7.062 kB / 0.5158 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.3594, allocations: 53.44 kB / 0.5158 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3594, allocations: 5.5 kB / 0.5158 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3594, allocations: 4 kB / 0.5158 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3594, allocations: 1.062 kB / 0.5158 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.3595, allocations: 32.83 kB / 0.5159 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.3599, allocations: 295.2 kB / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.36, allocations: 57.16 kB / 0.5162 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.3601, allocations: 17.42 kB / 0.5162 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.3601, allocations: 3.188 kB / 0.5162 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.3601, allocations: 33.44 kB / 0.5163 GB, free: 35.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3601, allocations: 0 / 0.5163 GB, free: 35.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008439/0.361, allocations: 255.1 kB / 0.5165 GB, free: 35.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.361, allocations: 54.25 kB / 0.5166 GB, free: 35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.3612, allocations: 274.5 kB / 0.5168 GB, free: 34.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.998e-06/0.3612, allocations: 25.7 kB / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.3613, allocations: 111.3 kB / 0.5169 GB, free: 34.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.3613, allocations: 37.5 kB / 0.517 GB, free: 34.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.3613, allocations: 0 / 0.517 GB, free: 34.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.3614, allocations: 331.8 kB / 0.5173 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.476e-05/0.3615, allocations: 26.92 kB / 0.5173 GB, free: 34.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.3616, allocations: 24.8 kB / 0.5173 GB, free: 34.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.3617, allocations: 74.34 kB / 0.5174 GB, free: 34.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.3617, allocations: 0 / 0.5174 GB, free: 34.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001916/0.3619, allocations: 108.8 kB / 0.5175 GB, free: 34.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.362, allocations: 5.812 kB / 0.5175 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.362, allocations: 0 / 0.5175 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.362, allocations: 7.234 kB / 0.5175 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3621, allocations: 21.52 kB / 0.5176 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3621, allocations: 3.938 kB / 0.5176 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.3622, allocations: 6.906 kB / 0.5176 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.3622, allocations: 6.812 kB / 0.5176 GB, free: 34.25 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.176e-05/0.3623, allocations: 133.6 kB / 0.5177 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.3623, allocations: 20.7 kB / 0.5177 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.3626, allocations: 126.2 kB / 0.5178 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3626, allocations: 5.141 kB / 0.5178 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3626, allocations: 3.938 kB / 0.5178 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3626, allocations: 0 / 0.5178 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.3631, allocations: 419.1 kB / 0.5182 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3631, allocations: 1.094 kB / 0.5182 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/0.3632, allocations: 26.86 kB / 0.5183 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3632, allocations: 1.062 kB / 0.5183 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3632, allocations: 1.156 kB / 0.5183 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3632, allocations: 5.094 kB / 0.5183 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3632, allocations: 1.125 kB / 0.5183 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.3634, allocations: 220.6 kB / 0.5185 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.3635, allocations: 92.86 kB / 0.5186 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.3635, allocations: 4.125 kB / 0.5186 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.825e-05/0.3636, allocations: 9.5 kB / 0.5186 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.3636, allocations: 11.28 kB / 0.5186 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.3636, allocations: 1.938 kB / 0.5186 GB, free: 33.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.3638, allocations: 202.5 kB / 0.5188 GB, free: 33.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3638, allocations: 3.938 kB / 0.5188 GB, free: 33.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.3641, allocations: 17.44 kB / 0.5188 GB, free: 33.29 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.001075/0.3651, allocations: 0.5106 MB / 0.5193 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.3654, allocations: 71.25 kB / 0.5194 GB, free: 32.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3654, allocations: 1.031 kB / 0.5194 GB, free: 32.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.501e-05/0.3655, allocations: 42.16 kB / 0.5194 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.3658, allocations: 20.38 kB / 0.5194 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005112/0.3664, allocations: 338.4 kB / 0.5198 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.3666, allocations: 0.718 MB / 0.5205 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.402e-05/0.3666, allocations: 16.03 kB / 0.5205 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.3667, allocations: 14.31 kB / 0.5205 GB, free: 32 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3667, allocations: 0 / 0.5205 GB, free: 32 MB / 378.7 MB Notification: Performance of Templates: time 0.003879/0.3706, allocations: 1.278 MB / 0.5217 GB, free: 31.84 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches