Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.Test16") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, 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.303/1.303, allocations: 225.7 MB / 243.9 MB, free: 8.453 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.0009553/0.0009556, allocations: 98.45 kB / 295.1 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.3939/0.3939, allocations: 44.32 MB / 390.5 MB, free: 38.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005071/0.000507, allocations: 8 kB / 463.1 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3552, allocations: 61.91 MB / 0.5127 GB, free: 38.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.001637/0.3569, allocations: 1.283 MB / 0.514 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006154/0.3575, allocations: 461.8 kB / 0.5144 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.3576, allocations: 0 / 0.5144 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.3578, allocations: 81.98 kB / 0.5145 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.358, allocations: 55.92 kB / 0.5146 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.3582, allocations: 98.52 kB / 0.5147 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.3584, allocations: 78.73 kB / 0.5147 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3585, allocations: 17.75 kB / 0.5147 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.503e-05/0.3585, allocations: 25.95 kB / 0.5148 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.299e-05/0.3586, allocations: 50.17 kB / 0.5148 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.3586, allocations: 0 / 0.5148 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.666e-05/0.3587, allocations: 44.89 kB / 0.5149 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.3588, allocations: 20.31 kB / 0.5149 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.845e-05/0.3588, allocations: 52.39 kB / 0.5149 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.359, allocations: 99.7 kB / 0.515 GB, free: 36.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.359, allocations: 7.188 kB / 0.515 GB, free: 36.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.359, allocations: 0 / 0.515 GB, free: 36.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.359, allocations: 0 / 0.515 GB, free: 36.51 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.0003662/0.3594, allocations: 392.5 kB / 0.5154 GB, free: 36.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3594, allocations: 8.812 kB / 0.5154 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.3595, allocations: 14.5 kB / 0.5154 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.3596, allocations: 193.9 kB / 0.5156 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3596, allocations: 4.375 kB / 0.5156 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.3597, allocations: 7.219 kB / 0.5156 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.3598, allocations: 70.52 kB / 0.5157 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3598, allocations: 2.875 kB / 0.5157 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-06/0.3598, allocations: 0 / 0.5157 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3598, allocations: 0 / 0.5157 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.592e-05/0.3599, allocations: 28.03 kB / 0.5157 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.3603, allocations: 302.8 kB / 0.516 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.384e-05/0.3604, allocations: 53.66 kB / 0.5161 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.3605, allocations: 21.5 kB / 0.5161 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.3605, allocations: 1.406 kB / 0.5161 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.3605, allocations: 35.36 kB / 0.5161 GB, free: 35.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3605, allocations: 0 / 0.5161 GB, free: 35.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008394/0.3614, allocations: 266.4 kB / 0.5164 GB, free: 35.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.3614, allocations: 51.41 kB / 0.5164 GB, free: 35.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.3615, allocations: 208.6 kB / 0.5166 GB, free: 35.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.3616, allocations: 29.7 kB / 0.5166 GB, free: 35.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.3616, allocations: 100.8 kB / 0.5167 GB, free: 35.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.3616, allocations: 36.83 kB / 0.5168 GB, free: 35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.3616, allocations: 0 / 0.5168 GB, free: 35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5e-05/0.3617, allocations: 321.1 kB / 0.5171 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.753e-05/0.3618, allocations: 38.11 kB / 0.5171 GB, free: 34.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.3619, allocations: 38.16 kB / 0.5172 GB, free: 34.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.362, allocations: 79.39 kB / 0.5172 GB, free: 34.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.362, allocations: 0 / 0.5172 GB, free: 34.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001826/0.3622, allocations: 117 kB / 0.5173 GB, free: 34.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.3622, allocations: 5.344 kB / 0.5174 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3622, allocations: 0 / 0.5174 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3623, allocations: 0 / 0.5174 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.253e-05/0.3623, allocations: 28.14 kB / 0.5174 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3624, allocations: 3.938 kB / 0.5174 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.3624, allocations: 17.12 kB / 0.5174 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3624, allocations: 5.906 kB / 0.5174 GB, free: 34.55 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 5.973e-05/0.3625, allocations: 121.1 kB / 0.5175 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.3625, allocations: 13.84 kB / 0.5175 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.3628, allocations: 144.7 kB / 0.5177 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3628, allocations: 2.844 kB / 0.5177 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3628, allocations: 7.938 kB / 0.5177 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3628, allocations: 0 / 0.5177 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.3632, allocations: 422.1 kB / 0.5181 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3632, allocations: 8.312 kB / 0.5181 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.881e-05/0.3633, allocations: 22.44 kB / 0.5181 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3633, allocations: 1.094 kB / 0.5181 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3633, allocations: 1.156 kB / 0.5181 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3633, allocations: 1.219 kB / 0.5181 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3633, allocations: 1.062 kB / 0.5181 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.3635, allocations: 219.4 kB / 0.5183 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.3636, allocations: 96.64 kB / 0.5184 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.3636, allocations: 1 kB / 0.5184 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.3637, allocations: 9.531 kB / 0.5184 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.3637, allocations: 10.23 kB / 0.5184 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.3637, allocations: 2.281 kB / 0.5184 GB, free: 33.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.3639, allocations: 157.5 kB / 0.5186 GB, free: 33.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3639, allocations: 0 / 0.5186 GB, free: 33.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.3641, allocations: 18.56 kB / 0.5186 GB, free: 33.6 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.0009405/0.365, allocations: 0.5199 MB / 0.5191 GB, free: 33.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.3653, allocations: 83.22 kB / 0.5192 GB, free: 33.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3653, allocations: 4 kB / 0.5192 GB, free: 33.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.206e-05/0.3654, allocations: 43.81 kB / 0.5192 GB, free: 33.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.3658, allocations: 29.84 kB / 0.5193 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.3662, allocations: 284.8 kB / 0.5195 GB, free: 33.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.3663, allocations: 0.7087 MB / 0.5202 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.494e-05/0.3664, allocations: 15.91 kB / 0.5202 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.3664, allocations: 13.22 kB / 0.5203 GB, free: 32.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3665, allocations: 4 kB / 0.5203 GB, free: 32.32 MB / 378.7 MB Notification: Performance of Templates: time 0.003387/0.3698, allocations: 1.288 MB / 0.5215 GB, free: 32.16 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches