Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.0008841/0.0008841, allocations: 175 kB / 17.41 MB, free: 4.395 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.298/1.298, allocations: 225.7 MB / 243.9 MB, free: 10.17 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.0007178/0.0007177, allocations: 94.36 kB / 295.1 MB, free: 9.68 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.3529/0.3529, allocations: 44.32 MB / 390.5 MB, free: 38.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003862, allocations: 16 kB / 463.1 MB, free: 424 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3352, allocations: 61.9 MB / 0.5127 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.001562/0.3368, allocations: 1.263 MB / 0.514 GB, free: 37.37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005978/0.3375, allocations: 451.8 kB / 0.5144 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.3375, allocations: 2.719 kB / 0.5144 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.3377, allocations: 16.81 kB / 0.5144 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.3378, allocations: 34.17 kB / 0.5145 GB, free: 37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.3381, allocations: 84.22 kB / 0.5145 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.3382, allocations: 58.05 kB / 0.5146 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.045e-05/0.3383, allocations: 6.188 kB / 0.5146 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.963e-05/0.3383, allocations: 16.8 kB / 0.5146 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.518e-05/0.3384, allocations: 20.64 kB / 0.5146 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.3384, allocations: 2.562 kB / 0.5146 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.816e-05/0.3385, allocations: 31.39 kB / 0.5147 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.3385, allocations: 17.31 kB / 0.5147 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.3385, allocations: 44.08 kB / 0.5147 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.3387, allocations: 72.44 kB / 0.5148 GB, free: 36.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3387, allocations: 0 / 0.5148 GB, free: 36.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3387, allocations: 0 / 0.5148 GB, free: 36.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.3387, allocations: 2.656 kB / 0.5148 GB, free: 36.81 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.0003172/0.339, allocations: 374 kB / 0.5152 GB, free: 36.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.3391, allocations: 8.438 kB / 0.5152 GB, free: 36.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.569e-05/0.3391, allocations: 11.44 kB / 0.5152 GB, free: 36.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.3392, allocations: 190.6 kB / 0.5154 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.3392, allocations: 384 / 0.5154 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.3393, allocations: 3.156 kB / 0.5154 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.3394, allocations: 57.83 kB / 0.5154 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3394, allocations: 0 / 0.5154 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.3394, allocations: 0 / 0.5154 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.3394, allocations: 0 / 0.5154 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.3395, allocations: 29.67 kB / 0.5154 GB, free: 36.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.3398, allocations: 274.2 kB / 0.5157 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.3399, allocations: 46.41 kB / 0.5157 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.704e-05/0.34, allocations: 22.19 kB / 0.5158 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.34, allocations: 3.062 kB / 0.5158 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.34, allocations: 34.56 kB / 0.5158 GB, free: 35.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3401, allocations: 0 / 0.5158 GB, free: 35.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004625/0.3405, allocations: 155.2 kB / 0.516 GB, free: 35.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.3406, allocations: 51.41 kB / 0.516 GB, free: 35.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.841e-05/0.3407, allocations: 160.9 kB / 0.5162 GB, free: 35.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/0.3407, allocations: 25.7 kB / 0.5162 GB, free: 35.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.3407, allocations: 94.12 kB / 0.5163 GB, free: 35.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.3407, allocations: 21.89 kB / 0.5163 GB, free: 35.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.3407, allocations: 4 kB / 0.5163 GB, free: 35.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.801e-05/0.3408, allocations: 322 kB / 0.5166 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.406e-05/0.3409, allocations: 19.36 kB / 0.5166 GB, free: 35.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.464e-05/0.3409, allocations: 25.7 kB / 0.5166 GB, free: 35.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.341, allocations: 60.94 kB / 0.5167 GB, free: 35.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3411, allocations: 0 / 0.5167 GB, free: 35.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001509/0.3412, allocations: 87.42 kB / 0.5168 GB, free: 35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3412, allocations: 2.844 kB / 0.5168 GB, free: 35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3412, allocations: 4 kB / 0.5168 GB, free: 34.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3413, allocations: 2.969 kB / 0.5168 GB, free: 34.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.3413, allocations: 14.06 kB / 0.5168 GB, free: 34.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3413, allocations: 0 / 0.5168 GB, free: 34.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.74e-05/0.3414, allocations: 13.56 kB / 0.5168 GB, free: 34.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.3414, allocations: 3.938 kB / 0.5168 GB, free: 34.98 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.836e-05/0.3415, allocations: 124.6 kB / 0.5169 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.3415, allocations: 11.12 kB / 0.517 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.3417, allocations: 96.77 kB / 0.517 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3417, allocations: 6.859 kB / 0.5171 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3417, allocations: 0 / 0.5171 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3417, allocations: 0 / 0.5171 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.342, allocations: 356.6 kB / 0.5174 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3421, allocations: 0 / 0.5174 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.158e-05/0.3421, allocations: 13.59 kB / 0.5174 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3421, allocations: 0 / 0.5174 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.3421, allocations: 3.469 kB / 0.5174 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3421, allocations: 7.938 kB / 0.5174 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3421, allocations: 0 / 0.5174 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.3423, allocations: 183.1 kB / 0.5176 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.3424, allocations: 85.78 kB / 0.5177 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3424, allocations: 4.609 kB / 0.5177 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-05/0.3424, allocations: 11.36 kB / 0.5177 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.3425, allocations: 8.516 kB / 0.5177 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-06/0.3425, allocations: 2.781 kB / 0.5177 GB, free: 34.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.906e-05/0.3426, allocations: 113.8 kB / 0.5178 GB, free: 34.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3426, allocations: 0 / 0.5178 GB, free: 34.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000209/0.3428, allocations: 15.06 kB / 0.5178 GB, free: 34.11 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.0008257/0.3436, allocations: 473.5 kB / 0.5183 GB, free: 33.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.3438, allocations: 51.56 kB / 0.5183 GB, free: 33.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3438, allocations: 0 / 0.5183 GB, free: 33.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.531e-05/0.3439, allocations: 35.78 kB / 0.5184 GB, free: 33.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.3442, allocations: 17.45 kB / 0.5184 GB, free: 33.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.3445, allocations: 201.3 kB / 0.5186 GB, free: 33.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.3447, allocations: 0.6957 MB / 0.5192 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.755e-05/0.3447, allocations: 11.62 kB / 0.5193 GB, free: 32.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.3447, allocations: 14.98 kB / 0.5193 GB, free: 32.93 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.3447, allocations: 2.688 kB / 0.5193 GB, free: 32.93 MB / 378.7 MB Notification: Performance of Templates: time 0.002964/0.3477, allocations: 1.029 MB / 0.5203 GB, free: 32.8 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches