Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.Test7") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001339, allocations: 177.5 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.304/1.304, allocations: 225.7 MB / 243.9 MB, free: 8.465 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.0007847/0.0007847, allocations: 92.91 kB / 295.1 MB, free: 9.516 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.3034/0.3034, allocations: 44.31 MB / 390.5 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004759, allocations: 8 kB / 463.1 MB, free: 500 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.358, allocations: 61.91 MB / 0.5127 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.001415/0.3595, allocations: 1.269 MB / 0.514 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006246/0.3601, allocations: 458.1 kB / 0.5144 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.3602, allocations: 3.938 kB / 0.5144 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.3604, allocations: 31.62 kB / 0.5145 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.3605, allocations: 28.05 kB / 0.5145 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.3607, allocations: 96.16 kB / 0.5146 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.779e-05/0.3608, allocations: 53.2 kB / 0.5146 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.752e-05/0.3609, allocations: 16.2 kB / 0.5146 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.898e-05/0.361, allocations: 17.16 kB / 0.5147 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.138e-05/0.361, allocations: 21.52 kB / 0.5147 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.361, allocations: 2.781 kB / 0.5147 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.626e-05/0.3611, allocations: 27.48 kB / 0.5147 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.398e-05/0.3611, allocations: 16.27 kB / 0.5147 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.3612, allocations: 40.02 kB / 0.5148 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.3613, allocations: 77.12 kB / 0.5148 GB, free: 36.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.3613, allocations: 0 / 0.5148 GB, free: 36.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3613, allocations: 0 / 0.5148 GB, free: 36.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.3613, allocations: 3.094 kB / 0.5148 GB, free: 36.31 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.0003205/0.3616, allocations: 379 kB / 0.5152 GB, free: 35.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.3617, allocations: 9.375 kB / 0.5152 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.3617, allocations: 10.69 kB / 0.5152 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.3618, allocations: 185.1 kB / 0.5154 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-06/0.3618, allocations: 3.625 kB / 0.5154 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.3619, allocations: 384 / 0.5154 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.362, allocations: 56.88 kB / 0.5154 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.362, allocations: 2.938 kB / 0.5154 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.362, allocations: 11.33 kB / 0.5155 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.3621, allocations: 0 / 0.5155 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.152e-05/0.3621, allocations: 25.92 kB / 0.5155 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.3624, allocations: 283.2 kB / 0.5158 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.3626, allocations: 52.39 kB / 0.5158 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.426e-05/0.3627, allocations: 17.3 kB / 0.5158 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.3627, allocations: 0.7031 kB / 0.5158 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.101e-05/0.3627, allocations: 34.36 kB / 0.5159 GB, free: 35.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.041e-06/0.3627, allocations: 0 / 0.5159 GB, free: 35.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004782/0.3632, allocations: 161.5 kB / 0.516 GB, free: 35.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.3632, allocations: 52.11 kB / 0.5161 GB, free: 35.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3633, allocations: 161.5 kB / 0.5162 GB, free: 35.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.3634, allocations: 26.31 kB / 0.5162 GB, free: 35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.3634, allocations: 93.22 kB / 0.5163 GB, free: 34.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.3634, allocations: 24.05 kB / 0.5163 GB, free: 34.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.3634, allocations: 0 / 0.5163 GB, free: 34.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.205e-05/0.3635, allocations: 324.4 kB / 0.5167 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.3636, allocations: 23.42 kB / 0.5167 GB, free: 34.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.886e-05/0.3636, allocations: 32 kB / 0.5167 GB, free: 34.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.3638, allocations: 66.08 kB / 0.5168 GB, free: 34.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3638, allocations: 2.578 kB / 0.5168 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001659/0.3639, allocations: 95.94 kB / 0.5169 GB, free: 34.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.364, allocations: 5.781 kB / 0.5169 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.364, allocations: 0 / 0.5169 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.364, allocations: 288 / 0.5169 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.364, allocations: 15.84 kB / 0.5169 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3641, allocations: 0 / 0.5169 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/0.3641, allocations: 13.38 kB / 0.5169 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.3641, allocations: 5.031 kB / 0.5169 GB, free: 34.46 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.529e-05/0.3642, allocations: 118.7 kB / 0.517 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.3642, allocations: 12.27 kB / 0.517 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.3644, allocations: 109.4 kB / 0.5171 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3644, allocations: 0 / 0.5171 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3644, allocations: 3.234 kB / 0.5171 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3645, allocations: 0 / 0.5171 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.3648, allocations: 361.6 kB / 0.5175 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3648, allocations: 4 kB / 0.5175 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.9e-05/0.3648, allocations: 15.09 kB / 0.5175 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3648, allocations: 0 / 0.5175 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.3649, allocations: 3 kB / 0.5175 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3649, allocations: 3.938 kB / 0.5175 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3649, allocations: 0 / 0.5175 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.3651, allocations: 190 kB / 0.5177 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.3651, allocations: 87.28 kB / 0.5178 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.3651, allocations: 0 / 0.5178 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.147e-05/0.3652, allocations: 13.47 kB / 0.5178 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.3652, allocations: 6.25 kB / 0.5178 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3652, allocations: 6.938 kB / 0.5178 GB, free: 33.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.534e-05/0.3653, allocations: 116.9 kB / 0.5179 GB, free: 33.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3653, allocations: 0 / 0.5179 GB, free: 33.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002046/0.3655, allocations: 18.95 kB / 0.5179 GB, free: 33.59 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.0008026/0.3663, allocations: 464.2 kB / 0.5184 GB, free: 33.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.3665, allocations: 63.14 kB / 0.5184 GB, free: 33.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3665, allocations: 2.531 kB / 0.5184 GB, free: 33.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.037e-05/0.3666, allocations: 34.94 kB / 0.5185 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.3669, allocations: 13.23 kB / 0.5185 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.3672, allocations: 211.6 kB / 0.5187 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.3674, allocations: 0.6975 MB / 0.5194 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.287e-05/0.3674, allocations: 12.45 kB / 0.5194 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.3674, allocations: 13.81 kB / 0.5194 GB, free: 32.41 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3675, allocations: 0 / 0.5194 GB, free: 32.41 MB / 378.7 MB Notification: Performance of Templates: time 0.00314/0.3706, allocations: 1.048 MB / 0.5204 GB, free: 32.27 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches