Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.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.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 178.3 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.36/1.36, allocations: 225.7 MB / 243.9 MB, free: 8.484 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.000748/0.0007479, allocations: 88.34 kB / 295.1 MB, free: 9.504 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.3197/0.3197, allocations: 44.31 MB / 390.5 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002816, allocations: 8 kB / 463.1 MB, free: 496 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2932, allocations: 61.91 MB / 0.5127 GB, free: 38.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0005688/0.2938, allocations: 220.3 kB / 0.5129 GB, free: 37.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.295, allocations: 1.219 MB / 0.5141 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.054e-05/0.295, allocations: 0 / 0.5141 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.2951, allocations: 0 / 0.5141 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.539e-06/0.2951, allocations: 6.656 kB / 0.5141 GB, free: 36.86 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function ‘ModelicaTest.Math.Vectors‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.2964, allocations: 0.8168 MB / 0.5149 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.505e-05/0.2964, allocations: 0 / 0.5149 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.409e-05/0.2964, allocations: 2.5 kB / 0.5149 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.388e-05/0.2965, allocations: 4 kB / 0.5149 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.707e-05/0.2965, allocations: 0 / 0.5149 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.709e-06/0.2965, allocations: 0 / 0.5149 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004919/0.297, allocations: 360.9 kB / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.305e-06/0.297, allocations: 0 / 0.5153 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.297, allocations: 25.7 kB / 0.5153 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.2974, allocations: 328.1 kB / 0.5156 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2974, allocations: 0 / 0.5156 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2974, allocations: 0 / 0.5156 GB, free: 35.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.2974, allocations: 0 / 0.5156 GB, free: 35.98 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002839/0.2977, allocations: 395.6 kB / 0.516 GB, free: 35.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2978, allocations: 7.875 kB / 0.516 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.2978, allocations: 3.75 kB / 0.516 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.64e-05/0.2979, allocations: 160.4 kB / 0.5162 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.2979, allocations: 3.609 kB / 0.5162 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.2979, allocations: 384 / 0.5162 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.417e-05/0.298, allocations: 32.92 kB / 0.5162 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.298, allocations: 192 / 0.5162 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.298, allocations: 3.938 kB / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.298, allocations: 4 kB / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.462e-05/0.298, allocations: 2.875 kB / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.071e-05/0.2981, allocations: 148.9 kB / 0.5164 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.884e-05/0.2982, allocations: 17.17 kB / 0.5164 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.48e-05/0.2982, allocations: 7.797 kB / 0.5164 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.2982, allocations: 0 / 0.5164 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.2983, allocations: 60.2 kB / 0.5164 GB, free: 35.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.2983, allocations: 4 kB / 0.5164 GB, free: 35.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001584/0.2984, allocations: 69.05 kB / 0.5165 GB, free: 34.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.2985, allocations: 80.05 kB / 0.5166 GB, free: 34.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.837e-05/0.2985, allocations: 89.86 kB / 0.5167 GB, free: 34.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.2985, allocations: 25.7 kB / 0.5167 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.808e-05/0.2985, allocations: 80.14 kB / 0.5168 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.2986, allocations: 0 / 0.5168 GB, free: 34.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.2986, allocations: 7.125 kB / 0.5168 GB, free: 34.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.975e-05/0.2986, allocations: 318 kB / 0.5171 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-06/0.2987, allocations: 0 / 0.5171 GB, free: 34.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-06/0.2987, allocations: 7.938 kB / 0.5171 GB, free: 34.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.951e-05/0.2987, allocations: 63.17 kB / 0.5172 GB, free: 34.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2988, allocations: 0 / 0.5172 GB, free: 34.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.276e-05/0.2988, allocations: 63.5 kB / 0.5172 GB, free: 34.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.2988, allocations: 31.52 kB / 0.5172 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2989, allocations: 0 / 0.5172 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2989, allocations: 8.031 kB / 0.5173 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.2989, allocations: 0 / 0.5173 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.2989, allocations: 0 / 0.5173 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.481e-05/0.2989, allocations: 3.984 kB / 0.5173 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.2989, allocations: 3.062 kB / 0.5173 GB, free: 34.14 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.657e-05/0.299, allocations: 139.4 kB / 0.5174 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.299, allocations: 3 kB / 0.5174 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.576e-06/0.299, allocations: 7.062 kB / 0.5174 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.299, allocations: 0 / 0.5174 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.299, allocations: 4 kB / 0.5174 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.299, allocations: 0 / 0.5174 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.047e-05/0.2991, allocations: 151.7 kB / 0.5175 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.2991, allocations: 0 / 0.5175 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.2991, allocations: 0 / 0.5175 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.2991, allocations: 0 / 0.5175 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.2991, allocations: 6.688 kB / 0.5176 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.2991, allocations: 0 / 0.5176 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2991, allocations: 4 kB / 0.5176 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.351e-05/0.2992, allocations: 90.98 kB / 0.5176 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.2992, allocations: 80.08 kB / 0.5177 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.2992, allocations: 3.938 kB / 0.5177 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.676e-06/0.2993, allocations: 0 / 0.5177 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.2993, allocations: 6.188 kB / 0.5177 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.2993, allocations: 0 / 0.5177 GB, free: 33.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.161e-05/0.2993, allocations: 75.28 kB / 0.5178 GB, free: 33.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2993, allocations: 0 / 0.5178 GB, free: 33.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003204/0.2996, allocations: 80.89 kB / 0.5179 GB, free: 33.48 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004259/0.3001, allocations: 237.3 kB / 0.5181 GB, free: 33.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.062e-05/0.3001, allocations: 61.73 kB / 0.5182 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3001, allocations: 0 / 0.5182 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.714e-05/0.3002, allocations: 57.28 kB / 0.5182 GB, free: 33.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.3003, allocations: 4 kB / 0.5182 GB, free: 33.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001724/0.3005, allocations: 76.44 kB / 0.5183 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.3007, allocations: 0.6799 MB / 0.519 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.312e-06/0.3007, allocations: 0 / 0.519 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.088e-05/0.3007, allocations: 7.438 kB / 0.519 GB, free: 32.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3007, allocations: 0 / 0.519 GB, free: 32.41 MB / 378.7 MB Notification: Performance of Templates: time 0.005291/0.306, allocations: 1.821 MB / 0.5207 GB, free: 32.25 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches