Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.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.TestMatrices,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004839/0.004839, allocations: 97.38 kB / 15.73 MB, free: 6.066 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.001044/0.001044, allocations: 195.5 kB / 16.68 MB, free: 5.973 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.453/1.453, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3405/0.3405, allocations: 39.94 MB / 309.8 MB, free: 9.246 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.001471/0.001471, allocations: 67.91 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.34, allocations: 56.87 MB / 492.6 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001717/0.3417, allocations: 0.4969 MB / 493.1 MB, free: 19.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.3439, allocations: 1.591 MB / 494.7 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.817e-05/0.3439, allocations: 0 / 494.7 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.344, allocations: 1.406 kB / 494.7 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.981e-06/0.344, allocations: 0 / 494.7 MB, free: 17.98 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1555:3-1615:27:writable] Warning: Pure function 'Modelica.Math.Matrices.equalityLeastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgglse_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:165:3-206:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008867/0.3449, allocations: 271.8 kB / 495 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.079e-05/0.3449, allocations: 7.203 kB / 495 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.345, allocations: 1.609 kB / 495 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.441e-05/0.345, allocations: 0 / 495 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.06e-05/0.345, allocations: 0.9375 kB / 495 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.345, allocations: 1.188 kB / 495 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008165/0.3459, allocations: 493.9 kB / 495.5 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-06/0.3459, allocations: 1.188 kB / 495.5 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.3459, allocations: 9.125 kB / 495.5 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005039/0.3464, allocations: 308.3 kB / 495.8 MB, free: 17.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3464, allocations: 1.594 kB / 495.8 MB, free: 17.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3464, allocations: 0 / 495.8 MB, free: 17.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3465, allocations: 0 / 495.8 MB, free: 17.71 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.0003654/0.3468, allocations: 373.7 kB / 496.2 MB, free: 17.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3469, allocations: 16.61 kB / 496.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.3469, allocations: 6.281 kB / 496.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.059e-05/0.347, allocations: 162 kB / 496.3 MB, free: 17.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.347, allocations: 5.688 kB / 496.3 MB, free: 17.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.347, allocations: 384 / 496.4 MB, free: 17.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.5e-05/0.3471, allocations: 34.08 kB / 496.4 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3471, allocations: 0 / 496.4 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.3472, allocations: 1.719 kB / 496.4 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3472, allocations: 0 / 496.4 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.3472, allocations: 1.781 kB / 496.4 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.3473, allocations: 148.6 kB / 496.5 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.532e-05/0.3473, allocations: 28.45 kB / 496.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.274e-05/0.3474, allocations: 6.109 kB / 496.6 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.762e-06/0.3474, allocations: 2.484 kB / 496.6 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.3474, allocations: 60.2 kB / 496.6 MB, free: 16.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.382e-06/0.3474, allocations: 5.391 kB / 496.6 MB, free: 16.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001699/0.3476, allocations: 65.31 kB / 496.7 MB, free: 16.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.3476, allocations: 77.91 kB / 496.8 MB, free: 16.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.502e-05/0.3477, allocations: 93.86 kB / 496.9 MB, free: 16.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.3477, allocations: 26.98 kB / 496.9 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.067e-05/0.3477, allocations: 80.14 kB / 497 MB, free: 16.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.3477, allocations: 6.875 kB / 497 MB, free: 16.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.3477, allocations: 10.94 kB / 497 MB, free: 16.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.754e-05/0.3478, allocations: 314 kB / 497.3 MB, free: 16.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.3478, allocations: 7.938 kB / 497.3 MB, free: 16.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.3478, allocations: 1.312 kB / 497.3 MB, free: 16.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.573e-05/0.3479, allocations: 64.77 kB / 497.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3479, allocations: 1.375 kB / 497.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.458e-05/0.3479, allocations: 58.94 kB / 497.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.348, allocations: 35.98 kB / 497.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.348, allocations: 0 / 497.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.348, allocations: 5.75 kB / 497.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.348, allocations: 4.094 kB / 497.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.348, allocations: 0.7031 kB / 497.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.3481, allocations: 0 / 497.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.3481, allocations: 1.656 kB / 497.5 MB, free: 15.86 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.582e-05/0.3481, allocations: 138.7 kB / 497.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.3481, allocations: 9.188 kB / 497.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.808e-06/0.3482, allocations: 3.875 kB / 497.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.3482, allocations: 1.344 kB / 497.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3482, allocations: 0 / 497.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3482, allocations: 4.656 kB / 497.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.831e-05/0.3482, allocations: 148.8 kB / 497.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3483, allocations: 2.531 kB / 497.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3483, allocations: 0 / 497.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3483, allocations: 3.938 kB / 497.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3483, allocations: 1.344 kB / 497.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3483, allocations: 4.875 kB / 497.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3483, allocations: 0 / 497.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.37e-05/0.3484, allocations: 93.56 kB / 497.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.3484, allocations: 77.11 kB / 497.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.3484, allocations: 6.094 kB / 498 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-06/0.3484, allocations: 1.312 kB / 498 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.3484, allocations: 0 / 498 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.3485, allocations: 6.125 kB / 498 MB, free: 15.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.584e-05/0.3485, allocations: 76.53 kB / 498 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3485, allocations: 0 / 498 MB, free: 15.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003725/0.3489, allocations: 62.02 kB / 498.1 MB, free: 15.2 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.0004042/0.3493, allocations: 192.9 kB / 498.3 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.216e-05/0.3494, allocations: 62.28 kB / 498.3 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3494, allocations: 0 / 498.3 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.168e-05/0.3494, allocations: 55.09 kB / 498.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.3495, allocations: 3.906 kB / 498.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001528/0.3497, allocations: 80.92 kB / 498.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.326e-05/0.3498, allocations: 0.6701 MB / 499.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.651e-06/0.3498, allocations: 5.375 kB / 499.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.494e-06/0.3498, allocations: 7.562 kB / 499.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3498, allocations: 4 kB / 499.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of Templates: time 0.004296/0.3541, allocations: 1.278 MB / 0.4887 GB, free: 14 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe 2>&1)