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.0009988/0.0009995, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.001329/0.001329, allocations: 173.4 kB / 16.27 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.66/1.66, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.3473/0.3473, allocations: 40 MB / 310.7 MB, free: 9.738 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.0005559/0.0005559, allocations: 16 kB / 379.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1295, allocations: 57.96 MB / 437.4 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.00104/0.1306, allocations: 230.1 kB / 437.6 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003362/0.134, allocations: 1.578 MB / 439.2 MB, free: 428 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.471e-05/0.134, allocations: 0 / 439.2 MB, free: 428 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.1341, allocations: 0 / 439.2 MB, free: 428 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.604e-06/0.1341, allocations: 0 / 439.2 MB, free: 428 kB / 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.001331/0.1354, allocations: 247.5 kB / 439.4 MB, free: 180 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.081e-05/0.1355, allocations: 4 kB / 439.4 MB, free: 176 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.863e-05/0.1356, allocations: 0 / 439.4 MB, free: 176 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.503e-05/0.1356, allocations: 0 / 439.4 MB, free: 176 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.296e-05/0.1356, allocations: 3.984 kB / 439.5 MB, free: 172 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.1357, allocations: 4 kB / 439.5 MB, free: 168 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009109/0.1366, allocations: 483 kB / 439.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.1366, allocations: 3.984 kB / 439.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.1366, allocations: 33.58 kB / 440 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005348/0.1372, allocations: 311.4 kB / 440.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1372, allocations: 0 / 440.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1372, allocations: 0 / 440.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.1372, allocations: 0 / 440.3 MB, free: 15.34 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.0004182/0.1376, allocations: 373.2 kB / 440.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1377, allocations: 8.031 kB / 440.6 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.1378, allocations: 4.938 kB / 440.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.1379, allocations: 164.4 kB / 440.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.1379, allocations: 384 / 440.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.1379, allocations: 4.375 kB / 440.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1381, allocations: 34.02 kB / 440.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1381, allocations: 4 kB / 440.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1381, allocations: 0 / 440.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1381, allocations: 0 / 440.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/0.1381, allocations: 3.938 kB / 440.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.1383, allocations: 153.7 kB / 441 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.052e-05/0.1383, allocations: 14.58 kB / 441 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.1384, allocations: 8.859 kB / 441 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.1384, allocations: 8.031 kB / 441 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.1384, allocations: 60.2 kB / 441.1 MB, free: 14.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1384, allocations: 0 / 441.1 MB, free: 14.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001961/0.1386, allocations: 71.33 kB / 441.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.1387, allocations: 77.11 kB / 441.2 MB, free: 14.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.877e-05/0.1388, allocations: 89.86 kB / 441.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.1388, allocations: 29.83 kB / 441.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.1388, allocations: 80.14 kB / 441.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.1388, allocations: 0 / 441.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.1389, allocations: 13.72 kB / 441.4 MB, free: 13.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.139, allocations: 310.8 kB / 441.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-06/0.139, allocations: 0 / 441.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.65e-06/0.139, allocations: 0 / 441.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.397e-05/0.1391, allocations: 68.2 kB / 441.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1391, allocations: 11.98 kB / 441.8 MB, free: 13.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.277e-05/0.1392, allocations: 59.41 kB / 441.9 MB, free: 13.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.1392, allocations: 33.64 kB / 441.9 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1393, allocations: 3.984 kB / 441.9 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1393, allocations: 4 kB / 441.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.1393, allocations: 0 / 441.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1393, allocations: 0 / 441.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.1393, allocations: 0 / 441.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1393, allocations: 0 / 441.9 MB, free: 13.41 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.0001304/0.1395, allocations: 147.8 kB / 442.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.1395, allocations: 3.938 kB / 442.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.712e-05/0.1395, allocations: 3.125 kB / 442.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.1395, allocations: 0 / 442.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1395, allocations: 0 / 442.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1395, allocations: 0 / 442.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.1396, allocations: 149.7 kB / 442.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1396, allocations: 0 / 442.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.1397, allocations: 0 / 442.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.1397, allocations: 3.938 kB / 442.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1397, allocations: 4 kB / 442.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1397, allocations: 0 / 442.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.1397, allocations: 3.938 kB / 442.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.1398, allocations: 94.77 kB / 442.3 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.1399, allocations: 81.05 kB / 442.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.1399, allocations: 7.938 kB / 442.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.155e-05/0.1399, allocations: 0 / 442.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.1399, allocations: 0 / 442.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.1399, allocations: 4.031 kB / 442.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.31e-05/0.14, allocations: 75.28 kB / 442.5 MB, free: 12.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.14, allocations: 0 / 442.5 MB, free: 12.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000356/0.1404, allocations: 67.98 kB / 442.6 MB, free: 12.67 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.0005551/0.1409, allocations: 186.8 kB / 442.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.1411, allocations: 63.33 kB / 442.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1411, allocations: 0 / 442.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.555e-05/0.1411, allocations: 55.41 kB / 442.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.1413, allocations: 8 kB / 442.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/0.1415, allocations: 74.89 kB / 442.9 MB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.1418, allocations: 0.6769 MB / 443.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.194e-06/0.1418, allocations: 8 kB / 443.6 MB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.034e-05/0.1418, allocations: 7.438 kB / 443.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1418, allocations: 0 / 443.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of Templates: time 0.00424/0.1461, allocations: 1.273 MB / 444.9 MB, free: 10.25 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: