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.006793/0.006793, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001217/0.001217, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.507/1.507, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.3397/0.3397, allocations: 39.94 MB / 309.8 MB, free: 9.402 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.001424/0.001424, allocations: 67.89 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3924, allocations: 56.88 MB / 492.6 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001465/0.3939, allocations: 0.4922 MB / 493.1 MB, free: 19.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.3969, allocations: 2.132 MB / 495.3 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.3969, allocations: 0 / 495.3 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.3969, allocations: 0 / 495.3 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.684e-06/0.397, allocations: 1.406 kB / 495.3 MB, free: 17.72 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.001936/0.3989, allocations: 0.7253 MB / 496 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.751e-05/0.399, allocations: 5.562 kB / 496 MB, free: 17.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.399, allocations: 5.688 kB / 496 MB, free: 17.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.724e-05/0.399, allocations: 1.797 kB / 496 MB, free: 17.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.956e-05/0.3991, allocations: 0 / 496 MB, free: 17.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-06/0.3991, allocations: 1.219 kB / 496 MB, free: 17.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.4014, allocations: 1.503 MB / 497.5 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.4014, allocations: 0 / 497.5 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.4014, allocations: 0.9375 kB / 497.5 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.4036, allocations: 1.558 MB / 499.1 MB, free: 16.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4036, allocations: 0 / 499.1 MB, free: 16.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4036, allocations: 0 / 499.1 MB, free: 16.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.4036, allocations: 0 / 499.1 MB, free: 16.84 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.0006856/0.4043, allocations: 414.7 kB / 499.5 MB, free: 16.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.4044, allocations: 12.98 kB / 499.5 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.4044, allocations: 2.969 kB / 499.5 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.278e-05/0.4045, allocations: 160.9 kB / 499.6 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.4045, allocations: 384 / 499.6 MB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.4045, allocations: 10.08 kB / 499.6 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.06e-05/0.4046, allocations: 28.77 kB / 499.7 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.4046, allocations: 5.312 kB / 499.7 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.4047, allocations: 0 / 499.7 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.4047, allocations: 0 / 499.7 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.003e-05/0.4047, allocations: 6.125 kB / 499.7 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.4048, allocations: 148.2 kB / 499.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/0.4049, allocations: 20.5 kB / 499.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.4049, allocations: 14.94 kB / 499.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.4049, allocations: 0 / 499.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.4049, allocations: 58.55 kB / 499.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.4049, allocations: 0 / 499.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001644/0.4051, allocations: 64.95 kB / 500 MB, free: 15.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.4052, allocations: 82.97 kB / 0.4883 GB, free: 15.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.38e-05/0.4052, allocations: 89.86 kB / 0.4884 GB, free: 15.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.4052, allocations: 26.98 kB / 0.4885 GB, free: 15.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.345e-05/0.4052, allocations: 84.7 kB / 0.4885 GB, free: 15.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.4052, allocations: 1.312 kB / 0.4885 GB, free: 15.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.4053, allocations: 11.58 kB / 0.4886 GB, free: 15.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.4053, allocations: 312.6 kB / 0.4889 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.4053, allocations: 4.875 kB / 0.4889 GB, free: 15.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-06/0.4053, allocations: 1.594 kB / 0.4889 GB, free: 15.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.06e-05/0.4054, allocations: 64.3 kB / 0.4889 GB, free: 15.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.4054, allocations: 4.062 kB / 0.4889 GB, free: 15.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.852e-05/0.4055, allocations: 72.58 kB / 0.489 GB, free: 15.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.4055, allocations: 31.88 kB / 0.489 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.4055, allocations: 0 / 0.489 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.4055, allocations: 1.984 kB / 0.489 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.4055, allocations: 0 / 0.489 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4055, allocations: 0 / 0.489 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.4056, allocations: 1.641 kB / 0.489 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.4056, allocations: 0 / 0.489 GB, free: 14.98 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.956e-05/0.4056, allocations: 139.8 kB / 0.4892 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.4057, allocations: 9.547 kB / 0.4892 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.053e-05/0.4057, allocations: 3.125 kB / 0.4892 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4057, allocations: 1.484 kB / 0.4892 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4057, allocations: 0 / 0.4892 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4057, allocations: 0.8438 kB / 0.4892 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.063e-05/0.4058, allocations: 149.4 kB / 0.4893 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4058, allocations: 5.25 kB / 0.4893 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-06/0.4058, allocations: 3.984 kB / 0.4893 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.4058, allocations: 0 / 0.4893 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.4058, allocations: 6.016 kB / 0.4893 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.4058, allocations: 0 / 0.4893 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4058, allocations: 1.188 kB / 0.4893 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.491e-05/0.4059, allocations: 92.58 kB / 0.4894 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.4059, allocations: 81.75 kB / 0.4895 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.4059, allocations: 1.25 kB / 0.4895 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.037e-05/0.406, allocations: 1.469 kB / 0.4895 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.406, allocations: 4.734 kB / 0.4895 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.406, allocations: 0.8125 kB / 0.4895 GB, free: 14.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.643e-05/0.406, allocations: 76.31 kB / 0.4896 GB, free: 14.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.406, allocations: 0 / 0.4896 GB, free: 14.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001308/0.4073, allocations: 270.4 kB / 0.4898 GB, free: 14.31 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.001323/0.4087, allocations: 423.8 kB / 0.4902 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.761e-05/0.4088, allocations: 56.98 kB / 0.4903 GB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4088, allocations: 1.375 kB / 0.4903 GB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.083e-05/0.4088, allocations: 58.77 kB / 0.4904 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.4089, allocations: 14.02 kB / 0.4904 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000175/0.4091, allocations: 98.95 kB / 0.4905 GB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.62e-05/0.4092, allocations: 0.671 MB / 0.4911 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.081e-06/0.4092, allocations: 0.75 kB / 0.4911 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-06/0.4093, allocations: 8.812 kB / 0.4911 GB, free: 13.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4093, allocations: 0 / 0.4911 GB, free: 13.19 MB / 382.1 MB Notification: Performance of Templates: time 0.01601/0.4253, allocations: 7.294 MB / 0.4982 GB, free: 9.617 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)