Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.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.TestMatrices3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009973/0.009972, allocations: 102 kB / 15.73 MB, free: 6.051 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.001971/0.001971, allocations: 195 kB / 16.68 MB, free: 5.969 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.551/1.551, allocations: 205.1 MB / 222.6 MB, free: 4.367 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.3589/0.3589, allocations: 39.95 MB / 309.8 MB, free: 9.641 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.001594/0.001595, allocations: 68.33 kB / 435.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3405, allocations: 56.88 MB / 492.6 MB, free: 19.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001631/0.3422, allocations: 0.4937 MB / 493.1 MB, free: 19.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.3442, allocations: 1.544 MB / 494.7 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.3443, allocations: 0 / 494.7 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.294e-05/0.3443, allocations: 5.062 kB / 494.7 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.142e-06/0.3443, allocations: 0 / 494.7 MB, free: 17.96 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:3171:3-3288:16:writable] Warning: Pure function 'Modelica.Math.Matrices.nullSpace' contains a call to impure function 'Modelica.Math.Matrices.singularValues'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:575:3-609:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Math.Matrices.nullSpace'. Notification: Performance of NFTyping.typeClassSections: time 0.0009634/0.3453, allocations: 224.9 kB / 494.9 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.319e-05/0.3453, allocations: 1.031 kB / 494.9 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.3454, allocations: 5.812 kB / 494.9 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.711e-05/0.3454, allocations: 1.25 kB / 494.9 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.609e-05/0.3454, allocations: 0 / 494.9 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.043e-06/0.3454, allocations: 1.031 kB / 494.9 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.3465, allocations: 0.7066 MB / 495.6 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.066e-06/0.3465, allocations: 5.344 kB / 495.6 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.3465, allocations: 0 / 495.6 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007771/0.3473, allocations: 0.6389 MB / 496.3 MB, free: 17.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3473, allocations: 4.734 kB / 496.3 MB, free: 17.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3473, allocations: 3.938 kB / 496.3 MB, free: 17.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3473, allocations: 1.562 kB / 496.3 MB, free: 17.65 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.0003697/0.3477, allocations: 363.9 kB / 496.6 MB, free: 17.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.3478, allocations: 13.23 kB / 496.6 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.3478, allocations: 2.922 kB / 496.6 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.067e-05/0.3479, allocations: 169 kB / 496.8 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3479, allocations: 384 / 496.8 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.3479, allocations: 1.875 kB / 496.8 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.433e-05/0.348, allocations: 33.89 kB / 496.8 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.348, allocations: 0.5625 kB / 496.8 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.348, allocations: 0 / 496.8 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.348, allocations: 1.406 kB / 496.8 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.3481, allocations: 2.344 kB / 496.8 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.167e-05/0.3482, allocations: 151.1 kB / 497 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.581e-05/0.3482, allocations: 24.92 kB / 497 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.182e-05/0.3482, allocations: 6.547 kB / 497 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.3482, allocations: 0 / 497 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.3483, allocations: 62.2 kB / 497.1 MB, free: 16.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3483, allocations: 1.5 kB / 497.1 MB, free: 16.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001662/0.3485, allocations: 64.97 kB / 497.2 MB, free: 16.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.3485, allocations: 81.89 kB / 497.2 MB, free: 16.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.857e-05/0.3485, allocations: 95.23 kB / 497.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.3486, allocations: 25.7 kB / 497.4 MB, free: 16.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.61e-05/0.3486, allocations: 80.8 kB / 497.4 MB, free: 16.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.3486, allocations: 1.406 kB / 497.4 MB, free: 16.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.3486, allocations: 11.59 kB / 497.4 MB, free: 16.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.3487, allocations: 316.9 kB / 497.8 MB, free: 16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-06/0.3487, allocations: 0 / 497.8 MB, free: 16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-06/0.3487, allocations: 5.953 kB / 497.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.888e-05/0.3488, allocations: 64.39 kB / 497.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3488, allocations: 0 / 497.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.942e-05/0.3489, allocations: 60.88 kB / 497.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.3489, allocations: 36.61 kB / 497.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3489, allocations: 0 / 497.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3489, allocations: 0 / 497.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-06/0.3489, allocations: 6.094 kB / 497.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3489, allocations: 0 / 497.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/0.349, allocations: 4.094 kB / 497.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.349, allocations: 1.891 kB / 497.9 MB, free: 15.81 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.816e-05/0.349, allocations: 139.1 kB / 498.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.3491, allocations: 8.641 kB / 498.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.209e-05/0.3491, allocations: 4.953 kB / 498.1 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.3491, allocations: 3.938 kB / 498.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3491, allocations: 0 / 498.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3491, allocations: 1.562 kB / 498.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.498e-05/0.3492, allocations: 149.3 kB / 498.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.3492, allocations: 4 kB / 498.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.3492, allocations: 0 / 498.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3492, allocations: 5.906 kB / 498.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.3492, allocations: 0 / 498.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3492, allocations: 0.6562 kB / 498.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3492, allocations: 1.438 kB / 498.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.647e-05/0.3493, allocations: 88.2 kB / 498.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.3493, allocations: 81.95 kB / 498.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.3493, allocations: 10.25 kB / 498.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-06/0.3494, allocations: 0 / 498.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.3494, allocations: 5.734 kB / 498.4 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.3494, allocations: 0 / 498.4 MB, free: 15.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.756e-05/0.3494, allocations: 81.31 kB / 498.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3494, allocations: 0 / 498.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005856/0.35, allocations: 117.8 kB / 498.6 MB, free: 15.16 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.0007841/0.3508, allocations: 178.8 kB / 498.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.3509, allocations: 65.69 kB / 498.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3509, allocations: 1.312 kB / 498.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.528e-05/0.351, allocations: 54.88 kB / 498.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.3511, allocations: 9.625 kB / 498.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001902/0.3513, allocations: 86.67 kB / 499 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.3515, allocations: 0.6713 MB / 499.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.993e-06/0.3515, allocations: 1.156 kB / 499.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.002e-05/0.3515, allocations: 7.438 kB / 499.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3515, allocations: 0 / 499.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of Templates: time 0.008591/0.3601, allocations: 3.932 MB / 0.4918 GB, free: 13.07 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.pipe 2>&1)