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.001238/0.001238, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002474/0.002474, allocations: 194.3 kB / 16.14 MB, free: 6.656 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.637/1.637, allocations: 205.1 MB / 222 MB, free: 4.734 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.4186/0.4186, allocations: 39.94 MB / 309.3 MB, free: 9.68 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.001665/0.001665, allocations: 70.41 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1379, allocations: 56.88 MB / 433.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.002292/0.1402, allocations: 0.5558 MB / 434.4 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002652/0.1429, allocations: 1.594 MB / 435.9 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.638e-05/0.143, allocations: 0 / 435.9 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.1431, allocations: 0 / 435.9 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.803e-06/0.1431, allocations: 0 / 435.9 MB, free: 2.254 MB / 366.1 MB [/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.001052/0.1441, allocations: 247.5 kB / 436.2 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.431e-05/0.1442, allocations: 4 kB / 436.2 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.1442, allocations: 3.938 kB / 436.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.005e-05/0.1443, allocations: 0 / 436.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.103e-05/0.1443, allocations: 0 / 436.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.791e-06/0.1443, allocations: 0 / 436.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007821/0.1451, allocations: 491 kB / 436.7 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.1451, allocations: 0 / 436.7 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.1451, allocations: 7.938 kB / 436.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006528/0.1458, allocations: 303.4 kB / 437 MB, free: 1.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1458, allocations: 0 / 437 MB, free: 1.219 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1458, allocations: 4 kB / 437 MB, free: 1.215 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1458, allocations: 3.938 kB / 437 MB, free: 1.211 MB / 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.0004569/0.1463, allocations: 377.2 kB / 437.4 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1464, allocations: 12.03 kB / 437.4 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.1464, allocations: 4.938 kB / 437.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.41e-05/0.1465, allocations: 160.4 kB / 437.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.1465, allocations: 384 / 437.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.1465, allocations: 384 / 437.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.595e-05/0.1466, allocations: 41.94 kB / 437.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1466, allocations: 0 / 437.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1467, allocations: 0 / 437.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1467, allocations: 0 / 437.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.135e-05/0.1467, allocations: 7.984 kB / 437.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.1468, allocations: 145.7 kB / 437.7 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.051e-05/0.1469, allocations: 18.58 kB / 437.7 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/0.1469, allocations: 8.953 kB / 437.7 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.1469, allocations: 0 / 437.7 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.147, allocations: 72.08 kB / 437.8 MB, free: 212 kB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.147, allocations: 0 / 437.8 MB, free: 212 kB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001669/0.1471, allocations: 63.52 kB / 437.9 MB, free: 136 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.1472, allocations: 85.11 kB / 438 MB, free: 32 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.239e-05/0.1473, allocations: 89.86 kB / 438 MB, free: 15.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.1473, allocations: 25.7 kB / 438.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.473e-05/0.1473, allocations: 84.14 kB / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.1473, allocations: 0 / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.1474, allocations: 9.719 kB / 438.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1475, allocations: 314.8 kB / 438.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.978e-06/0.1475, allocations: 4 kB / 438.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-06/0.1475, allocations: 7.938 kB / 438.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.702e-05/0.1476, allocations: 64.27 kB / 438.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1476, allocations: 0 / 438.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.751e-05/0.1477, allocations: 59.41 kB / 438.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.1477, allocations: 37.62 kB / 438.6 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1477, allocations: 0 / 438.6 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1477, allocations: 0 / 438.6 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.1477, allocations: 0 / 438.6 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.1477, allocations: 96 / 438.6 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.1478, allocations: 8 kB / 438.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1478, allocations: 0 / 438.6 MB, free: 15.27 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 9.006e-05/0.1479, allocations: 135.8 kB / 438.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.1479, allocations: 7.938 kB / 438.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.241e-05/0.1479, allocations: 3.125 kB / 438.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1479, allocations: 3.984 kB / 438.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1479, allocations: 7.875 kB / 438.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.148, allocations: 0 / 438.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.1481, allocations: 141.7 kB / 438.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1481, allocations: 4 kB / 438.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-06/0.1481, allocations: 4 kB / 439 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1481, allocations: 7.922 kB / 439 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.1481, allocations: 0 / 439 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1481, allocations: 0 / 439 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1481, allocations: 0 / 439 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.1482, allocations: 90.83 kB / 439 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.1483, allocations: 89.02 kB / 439.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.1483, allocations: 7.922 kB / 439.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/0.1483, allocations: 0 / 439.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.1483, allocations: 4 kB / 439.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.1483, allocations: 0 / 439.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.362e-05/0.1484, allocations: 75.28 kB / 439.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1484, allocations: 0 / 439.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004091/0.1488, allocations: 67.98 kB / 439.3 MB, free: 14.53 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.0005358/0.1493, allocations: 190.8 kB / 439.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.1495, allocations: 55.41 kB / 439.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1495, allocations: 4.062 kB / 439.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.553e-05/0.1495, allocations: 55.41 kB / 439.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.1497, allocations: 3.984 kB / 439.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.1499, allocations: 78.77 kB / 439.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.1503, allocations: 0.673 MB / 440.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.131e-05/0.1503, allocations: 3.938 kB / 440.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/0.1503, allocations: 11.44 kB / 440.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1503, allocations: 0 / 440.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of Templates: time 0.004712/0.1551, allocations: 1.284 MB / 441.6 MB, free: 12.09 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)