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.001304/0.001304, allocations: 104.3 kB / 16.27 MB, free: 6.055 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.001698/0.001698, allocations: 187.7 kB / 17.19 MB, free: 5.691 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.635/1.635, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2212/0.2212, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 67.91 kB / 382.7 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1072, allocations: 57.79 MB / 440.5 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001825/0.1091, allocations: 0.4897 MB / 441 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.1108, allocations: 1.546 MB / 442.5 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.849e-05/0.1108, allocations: 3.938 kB / 442.5 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.069e-05/0.1108, allocations: 0 / 442.5 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.449e-06/0.1109, allocations: 0 / 442.5 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008205/0.1117, allocations: 227.4 kB / 442.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.19e-05/0.1118, allocations: 4 kB / 442.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.1118, allocations: 0 / 442.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.295e-05/0.1118, allocations: 0 / 442.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.399e-05/0.1118, allocations: 0 / 442.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.13e-06/0.1118, allocations: 4 kB / 442.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007511/0.1126, allocations: 0.7064 MB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.434e-06/0.1126, allocations: 0 / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.1126, allocations: 0 / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005553/0.1132, allocations: 0.6357 MB / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1132, allocations: 0 / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1132, allocations: 0 / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.1132, allocations: 3.938 kB / 444.1 MB, free: 3.297 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.0003713/0.1136, allocations: 369.3 kB / 444.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.1136, allocations: 15.89 kB / 444.5 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.1137, allocations: 8.844 kB / 444.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.145e-05/0.1137, allocations: 160.4 kB / 444.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.1137, allocations: 384 / 444.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.1138, allocations: 4.312 kB / 444.7 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.215e-05/0.1138, allocations: 34.02 kB / 444.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.1139, allocations: 0 / 444.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.1139, allocations: 0 / 444.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1139, allocations: 0 / 444.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.462e-05/0.1139, allocations: 0 / 444.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.089e-05/0.114, allocations: 157.7 kB / 444.9 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.546e-05/0.114, allocations: 14.58 kB / 444.9 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.076e-05/0.114, allocations: 8.797 kB / 444.9 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-06/0.114, allocations: 0 / 444.9 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.1141, allocations: 64.27 kB / 444.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1141, allocations: 0 / 444.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001292/0.1142, allocations: 71.39 kB / 445 MB, free: 2.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.1142, allocations: 77.11 kB / 445.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.756e-05/0.1143, allocations: 89.86 kB / 445.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.47e-06/0.1143, allocations: 25.7 kB / 445.2 MB, free: 2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.377e-06/0.1143, allocations: 80.14 kB / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.1143, allocations: 288 / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.1143, allocations: 21.66 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.6e-05/0.1144, allocations: 310.8 kB / 445.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.1144, allocations: 12.05 kB / 445.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-06/0.1144, allocations: 0 / 445.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.683e-05/0.1144, allocations: 60.27 kB / 445.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1144, allocations: 0 / 445.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.69e-05/0.1145, allocations: 67.34 kB / 445.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.1145, allocations: 37.62 kB / 445.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1145, allocations: 0 / 445.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1145, allocations: 4 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.472e-06/0.1145, allocations: 0 / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.1146, allocations: 4.094 kB / 445.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.1146, allocations: 0 / 445.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/0.1146, allocations: 0 / 445.8 MB, free: 1.363 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 4.507e-05/0.1146, allocations: 147.4 kB / 445.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-06/0.1147, allocations: 7.938 kB / 445.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.235e-06/0.1147, allocations: 3.125 kB / 445.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.1147, allocations: 0 / 445.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1147, allocations: 0 / 445.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1147, allocations: 0 / 445.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.725e-05/0.1147, allocations: 153.7 kB / 446.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1147, allocations: 0 / 446.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.1147, allocations: 0 / 446.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1148, allocations: 3.938 kB / 446.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.1148, allocations: 0 / 446.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1148, allocations: 0 / 446.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1148, allocations: 4 kB / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.98e-05/0.1148, allocations: 90.81 kB / 446.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.1149, allocations: 81.14 kB / 446.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1149, allocations: 11.94 kB / 446.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.789e-06/0.1149, allocations: 3.984 kB / 446.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.1149, allocations: 3.984 kB / 446.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.1149, allocations: 0 / 446.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.012e-05/0.1149, allocations: 79.22 kB / 446.4 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1149, allocations: 0 / 446.4 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003814/0.1153, allocations: 116 kB / 446.5 MB, free: 0.5625 MB / 318.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.0006117/0.1159, allocations: 183 kB / 446.7 MB, free: 392 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.104e-05/0.116, allocations: 55.41 kB / 446.7 MB, free: 324 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1161, allocations: 0 / 446.7 MB, free: 324 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.248e-05/0.1161, allocations: 59.47 kB / 446.8 MB, free: 252 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.1162, allocations: 2.812 kB / 446.8 MB, free: 252 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001614/0.1164, allocations: 81.06 kB / 446.8 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1167, allocations: 0.6729 MB / 447.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.182e-06/0.1167, allocations: 0 / 447.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.099e-05/0.1167, allocations: 7.438 kB / 447.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1167, allocations: 0 / 447.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of Templates: time 0.007037/0.1237, allocations: 3.927 MB / 451.5 MB, free: 11.5 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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1)