Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009852/0.0009851, allocations: 96.31 kB / 16.99 MB, free: 6.402 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.001238/0.001238, allocations: 179.1 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 44.23 MB / 337.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.0004518, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1341, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0006129/0.1347, allocations: 213.2 kB / 471.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.1379, allocations: 1.979 MB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.862e-05/0.1379, allocations: 0 / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.1379, allocations: 0 / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.93e-06/0.1379, allocations: 0 / 473.6 MB, free: 11.54 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:485:3-574: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.002028/0.14, allocations: 0.6093 MB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.226e-05/0.14, allocations: 3.984 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.1401, allocations: 4 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.613e-05/0.1401, allocations: 4 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.235e-05/0.1401, allocations: 0 / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.678e-06/0.1401, allocations: 0 / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.142, allocations: 1.272 MB / 475.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-06/0.142, allocations: 3.938 kB / 475.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.1421, allocations: 25.7 kB / 475.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.1436, allocations: 1.15 MB / 476.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1437, allocations: 4 kB / 476.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1437, allocations: 0 / 476.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1437, allocations: 0 / 476.7 MB, free: 8.465 MB / 350.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.001022/0.1447, allocations: 417 kB / 477.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1448, allocations: 8.031 kB / 477.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.1448, allocations: 4 kB / 477.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.1449, allocations: 167 kB / 477.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.145, allocations: 0 / 477.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.145, allocations: 3.953 kB / 477.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.1451, allocations: 33.7 kB / 477.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1451, allocations: 0 / 477.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.1451, allocations: 0 / 477.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1451, allocations: 0 / 477.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.911e-05/0.1452, allocations: 0 / 477.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.1453, allocations: 149.7 kB / 477.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.461e-05/0.1454, allocations: 22.55 kB / 477.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.1454, allocations: 0 / 477.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/0.1455, allocations: 68.2 kB / 477.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.1455, allocations: 0 / 477.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002162/0.1457, allocations: 67.45 kB / 477.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.1457, allocations: 77.11 kB / 477.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.553e-05/0.1458, allocations: 93.86 kB / 477.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1458, allocations: 25.7 kB / 477.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.1459, allocations: 80.14 kB / 477.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.1459, allocations: 11.97 kB / 477.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.1459, allocations: 0 / 477.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1461, allocations: 310.8 kB / 478.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.1461, allocations: 0 / 478.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-06/0.1461, allocations: 7.938 kB / 478.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.946e-05/0.1461, allocations: 25.7 kB / 478.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1461, allocations: 0 / 478.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.206e-05/0.1462, allocations: 67.39 kB / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.1463, allocations: 29.8 kB / 478.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1463, allocations: 4 kB / 478.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1463, allocations: 3.953 kB / 478.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.1463, allocations: 0 / 478.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1463, allocations: 4 kB / 478.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.1463, allocations: 0 / 478.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1464, allocations: 3.984 kB / 478.4 MB, free: 6.559 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.1465, allocations: 144.3 kB / 478.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-06/0.1465, allocations: 0 / 478.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.359e-05/0.1465, allocations: 7.062 kB / 478.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.1465, allocations: 7.953 kB / 478.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1465, allocations: 0 / 478.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1466, allocations: 0 / 478.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1467, allocations: 153.7 kB / 478.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1467, allocations: 0 / 478.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.1467, allocations: 0 / 478.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1467, allocations: 0 / 478.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.1467, allocations: 0 / 478.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1467, allocations: 0 / 478.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.1467, allocations: 3.953 kB / 478.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.1468, allocations: 94.83 kB / 478.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.1469, allocations: 81.05 kB / 478.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1469, allocations: 0 / 478.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.505e-05/0.1469, allocations: 8 kB / 478.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.147, allocations: 0 / 478.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.147, allocations: 3.953 kB / 478.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.843e-05/0.147, allocations: 75.28 kB / 478.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.235e-06/0.147, allocations: 4.031 kB / 478.9 MB, free: 5.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001293/0.1483, allocations: 275.9 kB / 479.2 MB, free: 5.609 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001779/0.1501, allocations: 405.6 kB / 479.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.1502, allocations: 67.39 kB / 479.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1502, allocations: 0 / 479.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.351e-05/0.1503, allocations: 51.41 kB / 479.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.238e-05/0.1504, allocations: 4 kB / 479.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.1506, allocations: 70.89 kB / 479.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.1509, allocations: 0.677 MB / 480.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.414e-06/0.1509, allocations: 0 / 480.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/0.1509, allocations: 7.438 kB / 480.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.151, allocations: 0 / 480.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of Templates: time 0.01682/0.1678, allocations: 7.614 MB / 488.1 MB, free: 12.64 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)