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.001794/0.001795, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002286/0.002286, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.4 MB, free: 4.566 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.3729/0.3729, allocations: 39.93 MB / 309.7 MB, free: 9.293 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.001534/0.001534, allocations: 70.39 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.14, allocations: 56.88 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001834/0.1418, allocations: 0.4908 MB / 435 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.1441, allocations: 1.551 MB / 436.5 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.1442, allocations: 0 / 436.5 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.1442, allocations: 0 / 436.5 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.125e-06/0.1442, allocations: 0 / 436.5 MB, free: 1.617 MB / 366.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.001011/0.1452, allocations: 215.4 kB / 436.7 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.535e-05/0.1453, allocations: 7.984 kB / 436.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.1454, allocations: 0 / 436.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.912e-05/0.1454, allocations: 3.984 kB / 436.7 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.934e-05/0.1454, allocations: 0 / 436.7 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.142e-06/0.1454, allocations: 4 kB / 436.8 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009824/0.1464, allocations: 0.6986 MB / 437.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.506e-06/0.1464, allocations: 0 / 437.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.1465, allocations: 3.984 kB / 437.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007123/0.1472, allocations: 0.6434 MB / 438.1 MB, free: 40 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1472, allocations: 0 / 438.1 MB, free: 40 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1472, allocations: 0 / 438.1 MB, free: 40 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1472, allocations: 0 / 438.1 MB, free: 40 kB / 366.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.0005325/0.1477, allocations: 369.3 kB / 438.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.1478, allocations: 11.89 kB / 438.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.1479, allocations: 4.938 kB / 438.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.148, allocations: 164.4 kB / 438.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.148, allocations: 4.312 kB / 438.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.148, allocations: 384 / 438.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.1482, allocations: 34 kB / 438.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.1482, allocations: 4 kB / 438.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1482, allocations: 0 / 438.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1482, allocations: 0 / 438.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.042e-05/0.1482, allocations: 3.938 kB / 438.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.1484, allocations: 149.7 kB / 438.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.157e-05/0.1484, allocations: 22.59 kB / 438.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.1485, allocations: 4.859 kB / 438.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.1485, allocations: 0 / 438.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.542e-05/0.1485, allocations: 68.27 kB / 438.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.1485, allocations: 0 / 438.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000187/0.1487, allocations: 67.38 kB / 439 MB, free: 14.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.1488, allocations: 89.09 kB / 439.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.3e-05/0.1488, allocations: 89.86 kB / 439.2 MB, free: 14.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1489, allocations: 25.7 kB / 439.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.1489, allocations: 80.14 kB / 439.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1489, allocations: 0 / 439.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.149, allocations: 17.66 kB / 439.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1491, allocations: 310.8 kB / 439.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.1491, allocations: 4 kB / 439.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.1491, allocations: 4 kB / 439.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.623e-05/0.1491, allocations: 60.27 kB / 439.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1492, allocations: 0 / 439.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.38e-05/0.1492, allocations: 67.33 kB / 439.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.1493, allocations: 33.64 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1493, allocations: 0 / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1493, allocations: 4 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1493, allocations: 0 / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.1493, allocations: 4.094 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.1493, allocations: 3.984 kB / 439.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.1493, allocations: 0 / 439.8 MB, free: 14.1 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 0.0001127/0.1495, allocations: 143.5 kB / 439.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.1495, allocations: 3.938 kB / 439.9 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.016e-05/0.1495, allocations: 3.125 kB / 439.9 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1495, allocations: 0 / 439.9 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1495, allocations: 0 / 439.9 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.1495, allocations: 0 / 439.9 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.152e-05/0.1496, allocations: 153.7 kB / 440.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1496, allocations: 0 / 440.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.1496, allocations: 0 / 440.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1496, allocations: 7.875 kB / 440.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1496, allocations: 0 / 440.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1497, allocations: 0 / 440.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1497, allocations: 0 / 440.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.239e-05/0.1497, allocations: 94.77 kB / 440.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.1498, allocations: 81.42 kB / 440.2 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.1498, allocations: 7.938 kB / 440.2 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-06/0.1498, allocations: 0 / 440.2 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.1498, allocations: 0 / 440.2 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.1498, allocations: 0 / 440.2 MB, free: 13.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.426e-05/0.1499, allocations: 75.28 kB / 440.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1499, allocations: 0 / 440.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004207/0.1503, allocations: 124 kB / 440.4 MB, free: 13.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.0007155/0.151, allocations: 187 kB / 440.6 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.1512, allocations: 63.34 kB / 440.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1512, allocations: 0 / 440.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.658e-05/0.1512, allocations: 63.45 kB / 440.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.1513, allocations: 3.281 kB / 440.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001998/0.1515, allocations: 84.92 kB / 440.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.1518, allocations: 0.6729 MB / 441.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.012e-05/0.1518, allocations: 3.984 kB / 441.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.1518, allocations: 7.438 kB / 441.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1518, allocations: 0 / 441.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of Templates: time 0.007512/0.1594, allocations: 3.928 MB / 445.4 MB, free: 8.223 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)