Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.Test28") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 176.7 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.383/1.383, allocations: 225.7 MB / 243.9 MB, free: 8.461 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.0007626/0.0007625, allocations: 97.75 kB / 295 MB, free: 9.5 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.3344/0.3344, allocations: 44.32 MB / 390.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003073, allocations: 11.94 kB / 463.1 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3264, allocations: 61.9 MB / 0.5127 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.00158/0.328, allocations: 1.288 MB / 0.514 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006202/0.3287, allocations: 460.5 kB / 0.5144 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.3287, allocations: 2.938 kB / 0.5144 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.329, allocations: 101.9 kB / 0.5145 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.3292, allocations: 76.33 kB / 0.5146 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.3294, allocations: 84.83 kB / 0.5147 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.3295, allocations: 84.78 kB / 0.5148 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3296, allocations: 15.33 kB / 0.5148 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.055e-05/0.3297, allocations: 26.41 kB / 0.5148 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.331e-05/0.3298, allocations: 65.91 kB / 0.5149 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.3298, allocations: 4 kB / 0.5149 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.953e-05/0.3299, allocations: 33.73 kB / 0.5149 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.33, allocations: 27.89 kB / 0.5149 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.33, allocations: 55.3 kB / 0.515 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.3302, allocations: 107.3 kB / 0.5151 GB, free: 36.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3302, allocations: 2.906 kB / 0.5151 GB, free: 36.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3302, allocations: 0 / 0.5151 GB, free: 36.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3302, allocations: 0 / 0.5151 GB, free: 36.33 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.0003856/0.3306, allocations: 406.7 kB / 0.5155 GB, free: 35.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3306, allocations: 8.625 kB / 0.5155 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.3307, allocations: 14.53 kB / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3308, allocations: 210.5 kB / 0.5157 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.3308, allocations: 3.281 kB / 0.5157 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3309, allocations: 4.375 kB / 0.5157 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.331, allocations: 58.72 kB / 0.5158 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.331, allocations: 0 / 0.5158 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.331, allocations: 2.938 kB / 0.5158 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.331, allocations: 4 kB / 0.5158 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.533e-05/0.3311, allocations: 29.25 kB / 0.5158 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.3314, allocations: 295 kB / 0.5161 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.95e-05/0.3315, allocations: 51.48 kB / 0.5161 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.217e-05/0.3316, allocations: 18.14 kB / 0.5161 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.3316, allocations: 0 / 0.5161 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.3316, allocations: 38.47 kB / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.3316, allocations: 0 / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007978/0.3324, allocations: 251.1 kB / 0.5164 GB, free: 35.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.3325, allocations: 51.41 kB / 0.5165 GB, free: 35.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.3327, allocations: 245.5 kB / 0.5167 GB, free: 34.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.3327, allocations: 25.7 kB / 0.5167 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.3327, allocations: 110 kB / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.3328, allocations: 30.53 kB / 0.5169 GB, free: 34.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.3328, allocations: 4 kB / 0.5169 GB, free: 34.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.227e-05/0.3328, allocations: 329.3 kB / 0.5172 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.3329, allocations: 28.55 kB / 0.5172 GB, free: 34.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.529e-05/0.333, allocations: 29.88 kB / 0.5172 GB, free: 34.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.3331, allocations: 69.09 kB / 0.5173 GB, free: 34.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3332, allocations: 1.156 kB / 0.5173 GB, free: 34.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001927/0.3334, allocations: 105 kB / 0.5174 GB, free: 34.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3334, allocations: 8.719 kB / 0.5174 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3334, allocations: 0.5156 kB / 0.5174 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3334, allocations: 5.375 kB / 0.5174 GB, free: 34.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/0.3335, allocations: 26.56 kB / 0.5174 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.3335, allocations: 4.734 kB / 0.5174 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.037e-05/0.3336, allocations: 7.438 kB / 0.5175 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3336, allocations: 6.297 kB / 0.5175 GB, free: 34.36 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.755e-05/0.3337, allocations: 130.2 kB / 0.5176 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.3337, allocations: 9.969 kB / 0.5176 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.334, allocations: 145.9 kB / 0.5177 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.334, allocations: 0 / 0.5177 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.334, allocations: 3.938 kB / 0.5177 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.334, allocations: 0.9375 kB / 0.5177 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.3344, allocations: 419.9 kB / 0.5181 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3344, allocations: 0 / 0.5181 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-05/0.3345, allocations: 24.91 kB / 0.5182 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3345, allocations: 0 / 0.5182 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.3345, allocations: 32 / 0.5182 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3345, allocations: 7.391 kB / 0.5182 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3345, allocations: 0 / 0.5182 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.3347, allocations: 209.8 kB / 0.5184 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.3348, allocations: 94.97 kB / 0.5185 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.3348, allocations: 5.219 kB / 0.5185 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.3349, allocations: 7.547 kB / 0.5185 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.3349, allocations: 9.812 kB / 0.5185 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.3349, allocations: 2.281 kB / 0.5185 GB, free: 33.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.3351, allocations: 180.4 kB / 0.5187 GB, free: 33.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3351, allocations: 3.938 kB / 0.5187 GB, free: 33.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002199/0.3353, allocations: 23.16 kB / 0.5187 GB, free: 33.4 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.0009651/0.3363, allocations: 0.5155 MB / 0.5192 GB, free: 33.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.3365, allocations: 74.11 kB / 0.5193 GB, free: 33.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3365, allocations: 1.406 kB / 0.5193 GB, free: 33.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.721e-05/0.3366, allocations: 34.83 kB / 0.5193 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.3369, allocations: 22.92 kB / 0.5193 GB, free: 33.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.3374, allocations: 316.2 kB / 0.5196 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.3376, allocations: 0.7175 MB / 0.5203 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.557e-05/0.3377, allocations: 11.53 kB / 0.5203 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.3377, allocations: 12.69 kB / 0.5203 GB, free: 32.13 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3377, allocations: 0 / 0.5203 GB, free: 32.13 MB / 378.7 MB Notification: Performance of Templates: time 0.003489/0.3412, allocations: 1.268 MB / 0.5216 GB, free: 31.96 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches