Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.0009691/0.0009692, allocations: 175.2 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.286/1.286, allocations: 225.7 MB / 243.9 MB, free: 10.19 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.0007992/0.0007995, allocations: 91.77 kB / 295 MB, free: 9.738 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.3438/0.3438, allocations: 44.32 MB / 390.5 MB, free: 38.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003464, allocations: 8 kB / 463.1 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3293, allocations: 61.9 MB / 0.5127 GB, free: 37.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.001757/0.3311, allocations: 1.279 MB / 0.514 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006851/0.3318, allocations: 465.3 kB / 0.5144 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.3319, allocations: 3.938 kB / 0.5144 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.3322, allocations: 108.7 kB / 0.5145 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.3323, allocations: 73.8 kB / 0.5146 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.3326, allocations: 100.4 kB / 0.5147 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.3327, allocations: 78.98 kB / 0.5148 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.89e-05/0.3328, allocations: 16.7 kB / 0.5148 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.898e-05/0.3329, allocations: 31.91 kB / 0.5148 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.834e-05/0.333, allocations: 63.05 kB / 0.5149 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.333, allocations: 3 kB / 0.5149 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.298e-05/0.3331, allocations: 39.52 kB / 0.5149 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.3331, allocations: 28.22 kB / 0.515 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.3332, allocations: 55.12 kB / 0.515 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.3333, allocations: 106.3 kB / 0.5151 GB, free: 36.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3333, allocations: 0 / 0.5151 GB, free: 36.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3334, allocations: 0 / 0.5151 GB, free: 36.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.3334, allocations: 0 / 0.5151 GB, free: 36.44 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.0003716/0.3337, allocations: 411.4 kB / 0.5155 GB, free: 36.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.3338, allocations: 10.47 kB / 0.5155 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.3338, allocations: 18.09 kB / 0.5155 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.334, allocations: 203.8 kB / 0.5157 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.662e-06/0.334, allocations: 384 / 0.5157 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.334, allocations: 7.438 kB / 0.5157 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.3341, allocations: 62.47 kB / 0.5158 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3342, allocations: 0 / 0.5158 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.3342, allocations: 8 kB / 0.5158 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3342, allocations: 2.906 kB / 0.5158 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.917e-05/0.3343, allocations: 30.75 kB / 0.5158 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.3346, allocations: 300.6 kB / 0.5161 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.417e-05/0.3347, allocations: 54.56 kB / 0.5162 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/0.3347, allocations: 24.86 kB / 0.5162 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.3348, allocations: 2.812 kB / 0.5162 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.3348, allocations: 30.56 kB / 0.5162 GB, free: 35.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3348, allocations: 0 / 0.5162 GB, free: 35.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007812/0.3356, allocations: 269.7 kB / 0.5165 GB, free: 35.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3356, allocations: 54.09 kB / 0.5165 GB, free: 35.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.3358, allocations: 246.8 kB / 0.5168 GB, free: 35.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.3358, allocations: 25.7 kB / 0.5168 GB, free: 35.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.3359, allocations: 109.4 kB / 0.5169 GB, free: 34.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.3359, allocations: 37.56 kB / 0.5169 GB, free: 34.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.3359, allocations: 0 / 0.5169 GB, free: 34.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.43e-05/0.336, allocations: 327.6 kB / 0.5172 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.56e-05/0.3361, allocations: 29.47 kB / 0.5173 GB, free: 34.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.3361, allocations: 40.31 kB / 0.5173 GB, free: 34.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.3363, allocations: 80.84 kB / 0.5174 GB, free: 34.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.3363, allocations: 3.094 kB / 0.5174 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001871/0.3365, allocations: 121.1 kB / 0.5175 GB, free: 34.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.3365, allocations: 6.812 kB / 0.5175 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3365, allocations: 0 / 0.5175 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3365, allocations: 2.5 kB / 0.5175 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.94e-05/0.3366, allocations: 23.52 kB / 0.5175 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3366, allocations: 3.938 kB / 0.5175 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.085e-05/0.3367, allocations: 17.08 kB / 0.5176 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.3367, allocations: 0 / 0.5176 GB, free: 34.44 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.111e-05/0.3368, allocations: 136.7 kB / 0.5177 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.3368, allocations: 9.906 kB / 0.5177 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.3371, allocations: 142 kB / 0.5178 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3371, allocations: 1.5 kB / 0.5178 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3371, allocations: 3.938 kB / 0.5178 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3371, allocations: 7.375 kB / 0.5178 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.3376, allocations: 427.6 kB / 0.5183 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3376, allocations: 0 / 0.5183 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.737e-05/0.3376, allocations: 30.91 kB / 0.5183 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3377, allocations: 1 kB / 0.5183 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.3377, allocations: 1.625 kB / 0.5183 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.3377, allocations: 1.094 kB / 0.5183 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3377, allocations: 1.094 kB / 0.5183 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.3379, allocations: 222.1 kB / 0.5185 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.862e-05/0.3379, allocations: 87.95 kB / 0.5186 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.338, allocations: 7.953 kB / 0.5186 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.338, allocations: 5.938 kB / 0.5186 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.3381, allocations: 10.12 kB / 0.5186 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.3381, allocations: 2.844 kB / 0.5186 GB, free: 33.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.3382, allocations: 183.4 kB / 0.5188 GB, free: 33.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3382, allocations: 7.938 kB / 0.5188 GB, free: 33.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002199/0.3385, allocations: 18.66 kB / 0.5188 GB, free: 33.48 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.0009207/0.3394, allocations: 0.5134 MB / 0.5193 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.3396, allocations: 79.42 kB / 0.5194 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3396, allocations: 0 / 0.5194 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3397, allocations: 45.94 kB / 0.5194 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.3401, allocations: 32.02 kB / 0.5195 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.3405, allocations: 322.9 kB / 0.5198 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.3406, allocations: 0.7175 MB / 0.5205 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.194e-05/0.3407, allocations: 25.53 kB / 0.5205 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.3407, allocations: 14.09 kB / 0.5205 GB, free: 32.19 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3407, allocations: 0 / 0.5205 GB, free: 32.19 MB / 378.7 MB Notification: Performance of Templates: time 0.003483/0.3442, allocations: 1.308 MB / 0.5218 GB, free: 32.03 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches