Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001814/0.001814, allocations: 194 kB / 18.77 MB, free: 4.742 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.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2096/0.2096, allocations: 44.17 MB / 336.8 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 64.89 kB / 408.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1042, allocations: 60.83 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001685/0.1059, allocations: 0.5449 MB / 469.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.1077, allocations: 1.521 MB / 471.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.045e-05/0.1078, allocations: 0 / 471.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.1078, allocations: 0 / 471.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.078e-06/0.1078, allocations: 0 / 471.2 MB, free: 12.74 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices3‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0006956/0.1085, allocations: 215.2 kB / 471.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.545e-05/0.1085, allocations: 0 / 471.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.1086, allocations: 3.984 kB / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.272e-05/0.1086, allocations: 0 / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.448e-05/0.1086, allocations: 0 / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.679e-06/0.1086, allocations: 4 kB / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008444/0.1095, allocations: 0.6947 MB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.093e-06/0.1095, allocations: 0 / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.823e-05/0.1095, allocations: 7.938 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.1099, allocations: 447.3 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1099, allocations: 0 / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1099, allocations: 0 / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.1099, allocations: 0 / 472.6 MB, free: 11.39 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.0003867/0.1103, allocations: 361.3 kB / 472.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1104, allocations: 8.031 kB / 473 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.1104, allocations: 0.9375 kB / 473 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.313e-05/0.1105, allocations: 164.3 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1105, allocations: 8.312 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.1105, allocations: 4.375 kB / 473.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.625e-05/0.1106, allocations: 34 kB / 473.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1106, allocations: 4 kB / 473.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.1106, allocations: 0 / 473.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1106, allocations: 0 / 473.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.44e-05/0.1107, allocations: 0 / 473.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.1108, allocations: 145.7 kB / 473.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.654e-05/0.1108, allocations: 22.55 kB / 473.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.1109, allocations: 12.84 kB / 473.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.1109, allocations: 0 / 473.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.1109, allocations: 64.27 kB / 473.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.094e-06/0.1109, allocations: 0 / 473.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001531/0.1111, allocations: 63.34 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.1111, allocations: 81.11 kB / 473.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.697e-05/0.1112, allocations: 93.84 kB / 473.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1112, allocations: 29.83 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.1113, allocations: 80.14 kB / 473.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.1113, allocations: 0 / 473.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.1113, allocations: 17.66 kB / 473.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1115, allocations: 314.8 kB / 474.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-06/0.1115, allocations: 0 / 474.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.1115, allocations: 0 / 474.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.2e-05/0.1115, allocations: 60.33 kB / 474.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1116, allocations: 4 kB / 474.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.492e-05/0.1116, allocations: 63.39 kB / 474.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.1117, allocations: 37.64 kB / 474.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.1117, allocations: 0 / 474.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1117, allocations: 0 / 474.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.1117, allocations: 4 kB / 474.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1117, allocations: 0 / 474.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.1117, allocations: 3.938 kB / 474.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1117, allocations: 0 / 474.2 MB, free: 9.469 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.951e-05/0.1118, allocations: 143.6 kB / 474.4 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.1118, allocations: 7.922 kB / 474.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.908e-06/0.1119, allocations: 3.125 kB / 474.4 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1119, allocations: 4 kB / 474.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1119, allocations: 0 / 474.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1119, allocations: 0 / 474.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.363e-05/0.112, allocations: 145.7 kB / 474.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.112, allocations: 3.984 kB / 474.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.112, allocations: 0 / 474.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.112, allocations: 7.875 kB / 474.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.112, allocations: 4 kB / 474.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.112, allocations: 0 / 474.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.112, allocations: 0 / 474.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.478e-05/0.1121, allocations: 94.73 kB / 474.6 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.1122, allocations: 77.11 kB / 474.7 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.1122, allocations: 7.938 kB / 474.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-06/0.1122, allocations: 3.938 kB / 474.7 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.1122, allocations: 11.97 kB / 474.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1122, allocations: 3.984 kB / 474.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.492e-05/0.1122, allocations: 75.28 kB / 474.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1123, allocations: 0 / 474.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004062/0.1127, allocations: 120 kB / 474.9 MB, free: 8.66 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 (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.0007023/0.1134, allocations: 171.4 kB / 475.1 MB, free: 8.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.605e-05/0.1135, allocations: 59.41 kB / 475.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1135, allocations: 0 / 475.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.197e-05/0.1135, allocations: 59.39 kB / 475.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.1136, allocations: 0 / 475.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001865/0.1138, allocations: 104.6 kB / 475.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.1141, allocations: 0.6692 MB / 476 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.257e-06/0.1141, allocations: 11.38 kB / 476 MB, free: 7.508 MB / 350.1 MB Notification: Performance of SimCode: time 9.277e-06/0.1141, allocations: 4 kB / 476 MB, free: 7.504 MB / 350.1 MB Notification: Performance of Templates: time 0.004072/0.1182, allocations: 2.696 MB / 478.7 MB, free: 4.805 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1)