Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 108.7 kB / 17.03 MB, free: 5.664 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.001174/0.001174, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.547/1.547, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2264/0.2264, allocations: 43.51 MB / 314.7 MB, free: 476 kB / 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: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 71.66 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1339, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001833/0.1358, allocations: 493.1 kB / 442.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1374, allocations: 1.546 MB / 444 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.965e-05/0.1374, allocations: 0 / 444 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.1374, allocations: 0 / 444 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.278e-06/0.1374, allocations: 3.938 kB / 444 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007515/0.1382, allocations: 227.3 kB / 444.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.101e-05/0.1383, allocations: 4 kB / 444.2 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.1383, allocations: 4 kB / 444.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.477e-05/0.1383, allocations: 0 / 444.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.713e-05/0.1383, allocations: 3.984 kB / 444.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.511e-06/0.1384, allocations: 4 kB / 444.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000751/0.1391, allocations: 0.7025 MB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-06/0.1391, allocations: 0 / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.1392, allocations: 4 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005718/0.1397, allocations: 0.6396 MB / 445.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1398, allocations: 0 / 445.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1398, allocations: 0 / 445.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1398, allocations: 0 / 445.6 MB, free: 2.512 MB / 318.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.0003904/0.1402, allocations: 365.2 kB / 445.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1402, allocations: 11.89 kB / 445.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.1403, allocations: 8.844 kB / 446 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.041e-05/0.1403, allocations: 172.4 kB / 446.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1404, allocations: 384 / 446.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.1404, allocations: 8.312 kB / 446.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.091e-05/0.1405, allocations: 34 kB / 446.2 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1405, allocations: 0 / 446.2 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.1405, allocations: 0 / 446.2 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1405, allocations: 4 kB / 446.2 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.81e-05/0.1405, allocations: 0 / 446.2 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.968e-05/0.1406, allocations: 145.7 kB / 446.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.689e-05/0.1407, allocations: 22.59 kB / 446.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.1407, allocations: 12.8 kB / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.1407, allocations: 0 / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.1407, allocations: 60.2 kB / 446.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1408, allocations: 3.938 kB / 446.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001664/0.1409, allocations: 67.45 kB / 446.5 MB, free: 1.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.141, allocations: 77.11 kB / 446.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.56e-05/0.141, allocations: 93.86 kB / 446.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.944e-06/0.141, allocations: 29.7 kB / 446.7 MB, free: 1.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.321e-05/0.141, allocations: 80.14 kB / 446.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.1411, allocations: 0 / 446.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.1411, allocations: 9.719 kB / 446.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.747e-05/0.1411, allocations: 314.8 kB / 447.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.1412, allocations: 8.062 kB / 447.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-06/0.1412, allocations: 0 / 447.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.532e-05/0.1412, allocations: 64.25 kB / 447.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1412, allocations: 0 / 447.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.032e-05/0.1413, allocations: 63.41 kB / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.1413, allocations: 33.64 kB / 447.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.1413, allocations: 3.938 kB / 447.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1413, allocations: 0 / 447.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.1413, allocations: 0 / 447.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1413, allocations: 8.094 kB / 447.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.486e-05/0.1414, allocations: 0 / 447.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1414, allocations: 0 / 447.2 MB, free: 0.5742 MB / 318.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 5.275e-05/0.1414, allocations: 147.3 kB / 447.4 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-06/0.1414, allocations: 7.938 kB / 447.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.015e-06/0.1415, allocations: 3.125 kB / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.1415, allocations: 0 / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1415, allocations: 0 / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1415, allocations: 0 / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.719e-05/0.1415, allocations: 157.7 kB / 447.5 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1415, allocations: 0 / 447.5 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1416, allocations: 0 / 447.5 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1416, allocations: 3.938 kB / 447.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.1416, allocations: 4 kB / 447.6 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.1416, allocations: 0 / 447.6 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1416, allocations: 0 / 447.6 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.146e-05/0.1416, allocations: 90.83 kB / 447.6 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.1417, allocations: 81.14 kB / 447.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.1417, allocations: 3.938 kB / 447.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.18e-05/0.1417, allocations: 4 kB / 447.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.1417, allocations: 0 / 447.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.1417, allocations: 0 / 447.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.857e-05/0.1418, allocations: 79.22 kB / 447.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1418, allocations: 0 / 447.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003654/0.1422, allocations: 123.9 kB / 447.9 MB, free: 15.77 MB / 334.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.0006777/0.1428, allocations: 171.2 kB / 448.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.143, allocations: 63.39 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.143, allocations: 3.938 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.526e-05/0.143, allocations: 59.47 kB / 448.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.1431, allocations: 4 kB / 448.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001755/0.1433, allocations: 69.08 kB / 448.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.1436, allocations: 0.6729 MB / 449 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.137e-06/0.1436, allocations: 7.984 kB / 449 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.123e-05/0.1436, allocations: 7.438 kB / 449 MB, free: 14.64 MB / 334.1 MB Notification: Performance of SimCode: time 1.834e-06/0.1436, allocations: 0 / 449 MB, free: 14.64 MB / 334.1 MB Notification: Performance of Templates: time 0.007003/0.1506, allocations: 3.919 MB / 452.9 MB, free: 10.72 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1)