Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 178.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.49/1.49, allocations: 225.7 MB / 243.9 MB, free: 8.453 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.000969/0.0009691, allocations: 96.44 kB / 295.1 MB, free: 9.484 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.3547/0.3547, allocations: 44.32 MB / 390.5 MB, free: 38.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 11.98 kB / 463.1 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.332, allocations: 61.9 MB / 0.5127 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0005166/0.3326, allocations: 220.6 kB / 0.5129 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.3341, allocations: 1.863 MB / 0.5148 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.214e-05/0.3342, allocations: 2.875 kB / 0.5148 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.3342, allocations: 0 / 0.5148 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.939e-06/0.3342, allocations: 0 / 0.5148 GB, free: 36.22 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices3‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.3349, allocations: 199.5 kB / 0.515 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.673e-05/0.3349, allocations: 2.969 kB / 0.515 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.335, allocations: 4 kB / 0.515 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.395e-05/0.335, allocations: 3.938 kB / 0.515 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.717e-05/0.335, allocations: 0 / 0.515 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.52e-06/0.335, allocations: 2.906 kB / 0.515 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007245/0.3357, allocations: 0.6799 MB / 0.5156 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.633e-06/0.3358, allocations: 0 / 0.5156 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.3358, allocations: 32.67 kB / 0.5157 GB, free: 36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005648/0.3364, allocations: 0.6359 MB / 0.5163 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3364, allocations: 1.188 kB / 0.5163 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3364, allocations: 4 kB / 0.5163 GB, free: 35.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.646e-06/0.3364, allocations: 0 / 0.5163 GB, free: 35.91 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.000284/0.3367, allocations: 363.2 kB / 0.5166 GB, free: 35.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3367, allocations: 9.781 kB / 0.5166 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.3368, allocations: 0.9375 kB / 0.5166 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.924e-05/0.3368, allocations: 166.2 kB / 0.5168 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.3369, allocations: 5.5 kB / 0.5168 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.3369, allocations: 1.859 kB / 0.5168 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.919e-05/0.3369, allocations: 33.39 kB / 0.5168 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.337, allocations: 11.92 kB / 0.5169 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.337, allocations: 0 / 0.5169 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.337, allocations: 1.312 kB / 0.5169 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.474e-05/0.337, allocations: 1.672 kB / 0.5169 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.556e-05/0.3371, allocations: 144.5 kB / 0.517 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.746e-05/0.3371, allocations: 24.55 kB / 0.517 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.096e-05/0.3371, allocations: 6.969 kB / 0.517 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.834e-06/0.3371, allocations: 0.9375 kB / 0.517 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.3372, allocations: 65.66 kB / 0.5171 GB, free: 34.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.143e-06/0.3372, allocations: 3.938 kB / 0.5171 GB, free: 34.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001287/0.3373, allocations: 61.3 kB / 0.5172 GB, free: 34.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.3373, allocations: 77.95 kB / 0.5172 GB, free: 34.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.037e-05/0.3374, allocations: 98.77 kB / 0.5173 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.081e-06/0.3374, allocations: 25.7 kB / 0.5173 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.177e-05/0.3374, allocations: 82.12 kB / 0.5174 GB, free: 34.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.3374, allocations: 4.125 kB / 0.5174 GB, free: 34.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.3374, allocations: 0 / 0.5174 GB, free: 34.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.499e-05/0.3375, allocations: 312.9 kB / 0.5177 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-06/0.3375, allocations: 1.312 kB / 0.5177 GB, free: 34.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-06/0.3375, allocations: 0 / 0.5177 GB, free: 34.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.14e-05/0.3375, allocations: 61.36 kB / 0.5178 GB, free: 34.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3375, allocations: 0 / 0.5178 GB, free: 34.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.969e-05/0.3376, allocations: 64.23 kB / 0.5178 GB, free: 34.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.3376, allocations: 39.88 kB / 0.5179 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.3376, allocations: 0 / 0.5179 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3377, allocations: 1.25 kB / 0.5179 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.3377, allocations: 3.938 kB / 0.5179 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3377, allocations: 1.797 kB / 0.5179 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.3377, allocations: 0 / 0.5179 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.3377, allocations: 1.844 kB / 0.5179 GB, free: 34.09 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 4.906e-05/0.3378, allocations: 134.5 kB / 0.518 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-06/0.3378, allocations: 5.641 kB / 0.518 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.835e-06/0.3378, allocations: 7.875 kB / 0.518 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3378, allocations: 1.25 kB / 0.518 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3378, allocations: 0 / 0.518 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3378, allocations: 0.6562 kB / 0.518 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.118e-05/0.3379, allocations: 149.3 kB / 0.5182 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3379, allocations: 0.8125 kB / 0.5182 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.3379, allocations: 0 / 0.5182 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3379, allocations: 5.625 kB / 0.5182 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.3379, allocations: 0.9062 kB / 0.5182 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.3379, allocations: 0 / 0.5182 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3379, allocations: 5.922 kB / 0.5182 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.858e-05/0.338, allocations: 91.34 kB / 0.5183 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.338, allocations: 82.73 kB / 0.5184 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.338, allocations: 9.562 kB / 0.5184 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-06/0.338, allocations: 0 / 0.5184 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.3381, allocations: 2.031 kB / 0.5184 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.3381, allocations: 5.031 kB / 0.5184 GB, free: 33.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.29e-05/0.3381, allocations: 79.31 kB / 0.5184 GB, free: 33.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3381, allocations: 0 / 0.5184 GB, free: 33.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003957/0.3385, allocations: 119.1 kB / 0.5186 GB, free: 33.43 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.0006384/0.3391, allocations: 200.2 kB / 0.5188 GB, free: 33.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.545e-05/0.3392, allocations: 57.81 kB / 0.5188 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3392, allocations: 0 / 0.5188 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.802e-05/0.3392, allocations: 54.97 kB / 0.5189 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/0.3394, allocations: 2.5 kB / 0.5189 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000144/0.3395, allocations: 81.75 kB / 0.5189 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.3396, allocations: 0.6717 MB / 0.5196 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.971e-06/0.3396, allocations: 5.031 kB / 0.5196 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-06/0.3397, allocations: 7.438 kB / 0.5196 GB, free: 32.38 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3397, allocations: 0 / 0.5196 GB, free: 32.38 MB / 378.7 MB Notification: Performance of Templates: time 0.005561/0.3452, allocations: 3.896 MB / 0.5234 GB, free: 32.2 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1)