Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009512/0.009512, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002289/0.002289, allocations: 196 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 4.371 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3268/0.3268, allocations: 39.95 MB / 309.8 MB, free: 9.688 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 67.91 kB / 435.8 MB, free: 2.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3424, allocations: 56.88 MB / 492.6 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001805/0.3443, allocations: 0.4911 MB / 493.1 MB, free: 19.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003511/0.3478, allocations: 2.133 MB / 495.3 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.3479, allocations: 0 / 495.3 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.3479, allocations: 0 / 495.3 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.233e-06/0.3479, allocations: 0 / 495.3 MB, free: 17.66 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2034:3-2097:21:writable] Warning: Pure function 'Modelica.Math.Matrices.singularValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesvd'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:484:3-573:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.3501, allocations: 0.718 MB / 496 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.494e-05/0.3502, allocations: 2.828 kB / 496 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.907e-05/0.3502, allocations: 1.656 kB / 496 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.016e-05/0.3503, allocations: 5.188 kB / 496 MB, free: 17.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.501e-05/0.3503, allocations: 3.984 kB / 496 MB, free: 17.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.236e-06/0.3503, allocations: 0 / 496 MB, free: 17.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003399/0.3537, allocations: 1.5 MB / 497.5 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.3538, allocations: 4 kB / 497.5 MB, free: 17.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.3538, allocations: 1.719 kB / 497.5 MB, free: 17.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002559/0.3564, allocations: 1.549 MB / 499.1 MB, free: 16.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3564, allocations: 0 / 499.1 MB, free: 16.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3564, allocations: 0 / 499.1 MB, free: 16.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3564, allocations: 1.031 kB / 499.1 MB, free: 16.8 MB / 382.1 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.0005768/0.357, allocations: 413.1 kB / 499.5 MB, free: 16.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.357, allocations: 14.89 kB / 499.5 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.3571, allocations: 0.9375 kB / 499.5 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.192e-05/0.3572, allocations: 167.2 kB / 499.6 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3572, allocations: 384 / 499.6 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.3572, allocations: 4.125 kB / 499.6 MB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.919e-05/0.3573, allocations: 34.72 kB / 499.7 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3573, allocations: 0.5625 kB / 499.7 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3573, allocations: 0 / 499.7 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3574, allocations: 0 / 499.7 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.177e-05/0.3574, allocations: 6.5 kB / 499.7 MB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.3575, allocations: 152.5 kB / 499.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.772e-05/0.3576, allocations: 25.25 kB / 499.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.3576, allocations: 9.547 kB / 499.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.3576, allocations: 0 / 499.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.3576, allocations: 58.78 kB / 499.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3576, allocations: 0 / 499.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001931/0.3578, allocations: 73.14 kB / 500 MB, free: 15.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3579, allocations: 81.84 kB / 0.4884 GB, free: 15.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.823e-05/0.3579, allocations: 91.73 kB / 0.4884 GB, free: 15.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.3579, allocations: 25.7 kB / 0.4885 GB, free: 15.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.284e-05/0.358, allocations: 80.8 kB / 0.4885 GB, free: 15.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.358, allocations: 0 / 0.4885 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.358, allocations: 14.31 kB / 0.4886 GB, free: 15.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.423e-05/0.3581, allocations: 315.8 kB / 0.4889 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.3581, allocations: 0 / 0.4889 GB, free: 15.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.3581, allocations: 6.125 kB / 0.4889 GB, free: 15.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.915e-05/0.3582, allocations: 67.14 kB / 0.4889 GB, free: 15.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3582, allocations: 1.938 kB / 0.4889 GB, free: 15.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.621e-05/0.3582, allocations: 66.89 kB / 0.489 GB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.3583, allocations: 32.64 kB / 0.489 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3583, allocations: 0 / 0.489 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3583, allocations: 1 kB / 0.489 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.3583, allocations: 0 / 0.489 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3583, allocations: 5.078 kB / 0.489 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.3583, allocations: 4.875 kB / 0.489 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3583, allocations: 1.312 kB / 0.489 GB, free: 14.92 MB / 382.1 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.061e-05/0.3584, allocations: 138.1 kB / 0.4892 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.527e-06/0.3584, allocations: 5.875 kB / 0.4892 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.155e-05/0.3584, allocations: 3.125 kB / 0.4892 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3584, allocations: 1.578 kB / 0.4892 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3584, allocations: 0 / 0.4892 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.3584, allocations: 5.469 kB / 0.4892 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.438e-05/0.3585, allocations: 145.3 kB / 0.4893 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3585, allocations: 8.922 kB / 0.4893 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3585, allocations: 0 / 0.4893 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.3585, allocations: 0 / 0.4893 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3585, allocations: 1.406 kB / 0.4893 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3586, allocations: 0.75 kB / 0.4893 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3586, allocations: 1.531 kB / 0.4893 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.96e-05/0.3586, allocations: 92.05 kB / 0.4894 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.3587, allocations: 81.7 kB / 0.4895 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.3587, allocations: 6.234 kB / 0.4895 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-06/0.3587, allocations: 0 / 0.4895 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.3587, allocations: 1.406 kB / 0.4895 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-06/0.3587, allocations: 1.766 kB / 0.4895 GB, free: 14.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.711e-05/0.3587, allocations: 75.28 kB / 0.4896 GB, free: 14.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3588, allocations: 0 / 0.4896 GB, free: 14.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001088/0.3598, allocations: 272 kB / 0.4898 GB, free: 14.26 MB / 382.1 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.001322/0.3612, allocations: 421.4 kB / 0.4902 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.898e-05/0.3613, allocations: 62.16 kB / 0.4903 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3613, allocations: 4.062 kB / 0.4903 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.292e-05/0.3613, allocations: 59.5 kB / 0.4904 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.3615, allocations: 6.688 kB / 0.4904 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001815/0.3616, allocations: 97.67 kB / 0.4905 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.3618, allocations: 0.6717 MB / 0.4911 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.171e-06/0.3618, allocations: 0 / 0.4911 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.176e-05/0.3618, allocations: 8.812 kB / 0.4911 GB, free: 13.14 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3618, allocations: 1.375 kB / 0.4911 GB, free: 13.14 MB / 382.1 MB Notification: Performance of Templates: time 0.01809/0.3799, allocations: 7.301 MB / 0.4983 GB, free: 9.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)