Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008838/0.0008839, allocations: 175.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.308/1.308, 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.0007466/0.0007464, allocations: 91.88 kB / 295 MB, free: 9.512 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.3409/0.3409, allocations: 44.32 MB / 390.5 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.0003069, allocations: 8 kB / 463.1 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3336, allocations: 61.9 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.001743/0.3354, allocations: 1.284 MB / 0.514 GB, free: 37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006904/0.3361, allocations: 456.8 kB / 0.5144 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.3362, allocations: 2.719 kB / 0.5144 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.3365, allocations: 100.3 kB / 0.5145 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.3367, allocations: 78.17 kB / 0.5146 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.3369, allocations: 76.89 kB / 0.5147 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.3371, allocations: 87.14 kB / 0.5148 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3372, allocations: 12.84 kB / 0.5148 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.261e-05/0.3373, allocations: 29.39 kB / 0.5148 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.3374, allocations: 60.2 kB / 0.5149 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.3374, allocations: 11.06 kB / 0.5149 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.141e-05/0.3375, allocations: 31.03 kB / 0.5149 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.11e-05/0.3375, allocations: 24.09 kB / 0.5149 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.3376, allocations: 69.08 kB / 0.515 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.3378, allocations: 100.1 kB / 0.5151 GB, free: 36.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3378, allocations: 0 / 0.5151 GB, free: 36.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3378, allocations: 0 / 0.5151 GB, free: 36.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3378, allocations: 0 / 0.5151 GB, free: 36.4 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.0004359/0.3382, allocations: 402.8 kB / 0.5155 GB, free: 36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3383, allocations: 13.47 kB / 0.5155 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.3383, allocations: 14.59 kB / 0.5155 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.3385, allocations: 210.8 kB / 0.5157 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3385, allocations: 7.344 kB / 0.5157 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.3386, allocations: 4.375 kB / 0.5157 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.3387, allocations: 58.42 kB / 0.5158 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3387, allocations: 0 / 0.5158 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3387, allocations: 7.031 kB / 0.5158 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3387, allocations: 3.984 kB / 0.5158 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.864e-05/0.3388, allocations: 34.91 kB / 0.5158 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.3392, allocations: 291.1 kB / 0.5161 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.565e-05/0.3393, allocations: 49.16 kB / 0.5161 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.379e-05/0.3393, allocations: 20.14 kB / 0.5161 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.3394, allocations: 4 kB / 0.5162 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.3394, allocations: 32.97 kB / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3394, allocations: 0 / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008256/0.3402, allocations: 248.7 kB / 0.5164 GB, free: 35.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.3402, allocations: 56.11 kB / 0.5165 GB, free: 35.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.3405, allocations: 242.6 kB / 0.5167 GB, free: 35.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.3405, allocations: 30.22 kB / 0.5167 GB, free: 34.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.3405, allocations: 109.9 kB / 0.5168 GB, free: 34.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.3406, allocations: 25.56 kB / 0.5169 GB, free: 34.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.3406, allocations: 5.188 kB / 0.5169 GB, free: 34.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.3407, allocations: 327.2 kB / 0.5172 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.3407, allocations: 34.22 kB / 0.5172 GB, free: 34.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.461e-05/0.3408, allocations: 25.62 kB / 0.5172 GB, free: 34.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.341, allocations: 69.77 kB / 0.5173 GB, free: 34.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.341, allocations: 1.062 kB / 0.5173 GB, free: 34.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001993/0.3412, allocations: 109.1 kB / 0.5174 GB, free: 34.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3412, allocations: 5.25 kB / 0.5174 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.3412, allocations: 0 / 0.5174 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3412, allocations: 1.094 kB / 0.5174 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.856e-05/0.3413, allocations: 28.34 kB / 0.5174 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3414, allocations: 8.844 kB / 0.5175 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.208e-05/0.3414, allocations: 8.469 kB / 0.5175 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.3414, allocations: 2.031 kB / 0.5175 GB, free: 34.43 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 7.738e-05/0.3415, allocations: 129.9 kB / 0.5176 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.3415, allocations: 9.906 kB / 0.5176 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.3418, allocations: 142.1 kB / 0.5177 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3418, allocations: 3.094 kB / 0.5177 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3418, allocations: 3.938 kB / 0.5177 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3418, allocations: 0 / 0.5177 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.3422, allocations: 416.1 kB / 0.5181 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3422, allocations: 0 / 0.5181 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.3423, allocations: 22.34 kB / 0.5182 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3423, allocations: 3.156 kB / 0.5182 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3423, allocations: 0 / 0.5182 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3423, allocations: 4.031 kB / 0.5182 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3423, allocations: 9.469 kB / 0.5182 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.3425, allocations: 208.2 kB / 0.5184 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.3426, allocations: 94.89 kB / 0.5185 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.3426, allocations: 7.875 kB / 0.5185 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.3427, allocations: 9.188 kB / 0.5185 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.3427, allocations: 6.234 kB / 0.5185 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.3427, allocations: 2.219 kB / 0.5185 GB, free: 33.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001378/0.3429, allocations: 177.2 kB / 0.5187 GB, free: 33.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.3429, allocations: 0 / 0.5187 GB, free: 33.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.3431, allocations: 29.8 kB / 0.5187 GB, free: 33.47 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.001112/0.3442, allocations: 0.5118 MB / 0.5192 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.3445, allocations: 75.89 kB / 0.5193 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3445, allocations: 0 / 0.5193 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.957e-05/0.3446, allocations: 32.45 kB / 0.5193 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.3449, allocations: 22.39 kB / 0.5193 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.3454, allocations: 318 kB / 0.5196 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.3456, allocations: 0.7111 MB / 0.5203 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.33e-05/0.3457, allocations: 13.58 kB / 0.5203 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.3457, allocations: 14.28 kB / 0.5203 GB, free: 32.2 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3457, allocations: 0 / 0.5203 GB, free: 32.2 MB / 378.7 MB Notification: Performance of Templates: time 0.00364/0.3494, allocations: 1.279 MB / 0.5216 GB, free: 32.03 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches