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.001038/0.001038, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.00843/0.00843, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.652/1.652, allocations: 205.4 MB / 222.5 MB, free: 5.539 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.3468/0.3468, allocations: 40 MB / 310.7 MB, free: 9.59 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.000556/0.0005558, allocations: 16 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1495, allocations: 57.96 MB / 437.4 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0007228/0.1503, allocations: 226.1 kB / 437.6 MB, free: 1.703 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003239/0.1536, allocations: 2.155 MB / 439.8 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.274e-05/0.1536, allocations: 0 / 439.8 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.1537, allocations: 0 / 439.8 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.1537, allocations: 4 kB / 439.8 MB, free: 15.52 MB / 382.1 MB [/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.001803/0.1555, allocations: 0.6355 MB / 440.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.775e-05/0.1555, allocations: 4 kB / 440.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.58e-05/0.1556, allocations: 3.984 kB / 440.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.774e-05/0.1556, allocations: 0 / 440.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.635e-05/0.1556, allocations: 0 / 440.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1557, allocations: 3.984 kB / 440.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.1575, allocations: 1.393 MB / 441.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.1575, allocations: 0 / 441.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.1576, allocations: 29.7 kB / 441.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.1591, allocations: 1.54 MB / 443.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1591, allocations: 0 / 443.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1591, allocations: 4 kB / 443.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1591, allocations: 0 / 443.4 MB, free: 11.9 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.0007247/0.1599, allocations: 413.3 kB / 443.8 MB, free: 11.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.883e-05/0.1599, allocations: 12.03 kB / 443.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.16, allocations: 0.9375 kB / 443.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.1602, allocations: 168.3 kB / 444 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.1602, allocations: 4.359 kB / 444 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.1602, allocations: 4.125 kB / 444 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1604, allocations: 33.64 kB / 444 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1604, allocations: 3.938 kB / 444 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1604, allocations: 0 / 444 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1604, allocations: 4 kB / 444 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.1604, allocations: 0 / 444 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.1606, allocations: 153.7 kB / 444.2 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.298e-05/0.1606, allocations: 14.58 kB / 444.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.1607, allocations: 8.891 kB / 444.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.1607, allocations: 7.938 kB / 444.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.462e-05/0.1608, allocations: 60.27 kB / 444.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1608, allocations: 4 kB / 444.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001958/0.161, allocations: 67.39 kB / 444.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.161, allocations: 77.11 kB / 444.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.771e-05/0.1611, allocations: 89.86 kB / 444.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.1611, allocations: 25.7 kB / 444.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.1612, allocations: 80.14 kB / 444.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.1612, allocations: 288 / 444.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.1612, allocations: 13.72 kB / 444.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1613, allocations: 315 kB / 444.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-06/0.1614, allocations: 0 / 444.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-06/0.1614, allocations: 3.938 kB / 444.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.091e-05/0.1614, allocations: 68.25 kB / 445 MB, free: 10.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1614, allocations: 0 / 445 MB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.812e-05/0.1615, allocations: 63.34 kB / 445 MB, free: 9.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.1616, allocations: 33.3 kB / 445.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1616, allocations: 0 / 445.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1616, allocations: 4.094 kB / 445.1 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.266e-06/0.1616, allocations: 4 kB / 445.1 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1616, allocations: 0 / 445.1 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.1616, allocations: 7.922 kB / 445.1 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.1616, allocations: 0 / 445.1 MB, free: 9.922 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.831e-05/0.1617, allocations: 139.5 kB / 445.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.1618, allocations: 3.938 kB / 445.2 MB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.407e-05/0.1618, allocations: 3.125 kB / 445.2 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1618, allocations: 3.938 kB / 445.2 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1618, allocations: 4 kB / 445.2 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1618, allocations: 0 / 445.2 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.162, allocations: 153.6 kB / 445.4 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.162, allocations: 3.938 kB / 445.4 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.162, allocations: 3.938 kB / 445.4 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.162, allocations: 0 / 445.4 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.162, allocations: 0 / 445.4 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.162, allocations: 0 / 445.4 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.162, allocations: 0 / 445.4 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.1621, allocations: 94.83 kB / 445.5 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.1622, allocations: 81.05 kB / 445.6 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.1622, allocations: 0 / 445.6 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-06/0.1622, allocations: 4 kB / 445.6 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.1622, allocations: 0 / 445.6 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.1622, allocations: 0 / 445.6 MB, free: 9.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.503e-05/0.1623, allocations: 75.28 kB / 445.7 MB, free: 9.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1623, allocations: 0 / 445.7 MB, free: 9.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009478/0.1632, allocations: 272 kB / 445.9 MB, free: 8.988 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.001372/0.1646, allocations: 426.1 kB / 446.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.1647, allocations: 59.41 kB / 446.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1648, allocations: 0 / 446.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.1648, allocations: 55.41 kB / 446.4 MB, free: 8.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.1649, allocations: 11.81 kB / 446.5 MB, free: 8.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002/0.1651, allocations: 86.67 kB / 446.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.1654, allocations: 0.6692 MB / 447.2 MB, free: 7.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.49e-06/0.1654, allocations: 128 / 447.2 MB, free: 7.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-06/0.1654, allocations: 11.44 kB / 447.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1654, allocations: 0 / 447.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of Templates: time 0.01513/0.1805, allocations: 7.41 MB / 454.6 MB, free: 192 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: