Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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 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.TestMatrices3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.002082/0.002082, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.333/0.333, allocations: 40 MB / 310.4 MB, free: 9.965 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.0005436/0.0005437, allocations: 23.98 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1177, allocations: 57.96 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0005469/0.1183, allocations: 224.4 kB / 437 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.1201, allocations: 1.487 MB / 438.5 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.505e-05/0.1201, allocations: 4 kB / 438.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.568e-06/0.1201, allocations: 0 / 438.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.1201, allocations: 0 / 438.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.1208, allocations: 183.6 kB / 438.6 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.093e-05/0.1209, allocations: 3.984 kB / 438.7 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.1209, allocations: 0 / 438.7 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.333e-05/0.1209, allocations: 0 / 438.7 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.85e-05/0.121, allocations: 4 kB / 438.7 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.039e-06/0.121, allocations: 3.938 kB / 438.7 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000791/0.1218, allocations: 0.6597 MB / 439.3 MB, free: 12 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.103e-06/0.1218, allocations: 0 / 439.3 MB, free: 12 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.1218, allocations: 25.7 kB / 439.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.1223, allocations: 451.3 kB / 439.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1223, allocations: 0 / 439.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1223, allocations: 0 / 439.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1223, allocations: 0 / 439.8 MB, free: 15.54 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.0003859/0.1227, allocations: 369.1 kB / 440.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1227, allocations: 15.97 kB / 440.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.1227, allocations: 0 / 440.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.442e-05/0.1228, allocations: 163.1 kB / 440.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1229, allocations: 0 / 440.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1229, allocations: 4 kB / 440.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.758e-05/0.123, allocations: 29.64 kB / 440.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.123, allocations: 0 / 440.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.123, allocations: 0 / 440.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.123, allocations: 3.953 kB / 440.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.512e-05/0.123, allocations: 4 kB / 440.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.1232, allocations: 149.7 kB / 440.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.674e-05/0.1232, allocations: 26.55 kB / 440.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.1232, allocations: 0 / 440.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.881e-05/0.1233, allocations: 56.27 kB / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.1233, allocations: 0 / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001636/0.1235, allocations: 67.36 kB / 440.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.1235, allocations: 81.23 kB / 440.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.061e-05/0.1236, allocations: 97.81 kB / 440.8 MB, free: 14.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.1236, allocations: 29.64 kB / 440.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/0.1236, allocations: 80.14 kB / 440.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.1236, allocations: 4 kB / 440.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-06/0.1237, allocations: 0 / 440.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1238, allocations: 310.8 kB / 441.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-06/0.1238, allocations: 0 / 441.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-06/0.1238, allocations: 0 / 441.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.539e-05/0.1238, allocations: 33.77 kB / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1238, allocations: 0 / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.761e-05/0.1239, allocations: 63.39 kB / 441.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.1239, allocations: 37.3 kB / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1239, allocations: 0 / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.124, allocations: 0 / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.124, allocations: 0 / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.124, allocations: 0 / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.124, allocations: 3.938 kB / 441.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.124, allocations: 7.953 kB / 441.4 MB, free: 13.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.762e-05/0.1241, allocations: 143.5 kB / 441.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-06/0.1241, allocations: 0 / 441.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.019e-05/0.1241, allocations: 11.11 kB / 441.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1241, allocations: 0 / 441.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1241, allocations: 4 kB / 441.5 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1241, allocations: 0 / 441.5 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.535e-05/0.1242, allocations: 149.6 kB / 441.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1242, allocations: 0 / 441.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-06/0.1242, allocations: 3.984 kB / 441.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1243, allocations: 8 kB / 441.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.1243, allocations: 3.984 kB / 441.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1243, allocations: 0 / 441.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1243, allocations: 0 / 441.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.222e-05/0.1244, allocations: 90.8 kB / 441.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.1244, allocations: 81.38 kB / 441.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.1244, allocations: 0 / 441.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.089e-05/0.1245, allocations: 8.031 kB / 441.9 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.1245, allocations: 0 / 441.9 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1245, allocations: 4 kB / 441.9 MB, free: 13.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.875e-05/0.1245, allocations: 79.22 kB / 442 MB, free: 13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1245, allocations: 0 / 442 MB, free: 13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003576/0.1249, allocations: 116 kB / 442.1 MB, free: 12.89 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 (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.0006569/0.1255, allocations: 174.8 kB / 442.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.256e-05/0.1256, allocations: 55.41 kB / 442.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1257, allocations: 0 / 442.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.416e-05/0.1257, allocations: 59.39 kB / 442.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.86e-05/0.1258, allocations: 11.89 kB / 442.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001873/0.126, allocations: 82.77 kB / 442.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.1263, allocations: 0.677 MB / 443.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.851e-06/0.1263, allocations: 0 / 443.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.032e-05/0.1263, allocations: 7.438 kB / 443.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1263, allocations: 0 / 443.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of Templates: time 0.007228/0.1335, allocations: 4.149 MB / 447.3 MB, free: 7.59 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.pipe 2>&1) Environment - environmentSimulation: