Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 108.8 kB / 16.41 MB, free: 6.461 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.001277/0.001277, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.613/1.613, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2366/0.2366, allocations: 43.52 MB / 314.1 MB, free: 448 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.001372/0.001372, allocations: 69.47 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1241, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001609/0.1257, allocations: 0.491 MB / 0.4883 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003019/0.1287, allocations: 2.132 MB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.1288, allocations: 0 / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.1288, allocations: 0 / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.095e-06/0.1288, allocations: 0 / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.1308, allocations: 0.7287 MB / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.528e-05/0.1309, allocations: 4 kB / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.1309, allocations: 4 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.04e-05/0.131, allocations: 3.984 kB / 0.4912 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.037e-05/0.131, allocations: 3.938 kB / 0.4912 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.131, allocations: 4 kB / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.1329, allocations: 1.498 MB / 0.4926 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-06/0.133, allocations: 0 / 0.4926 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.133, allocations: 4 kB / 0.4926 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.1344, allocations: 1.548 MB / 0.4941 GB, free: 5.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1344, allocations: 0 / 0.4941 GB, free: 5.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1344, allocations: 0 / 0.4941 GB, free: 5.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1344, allocations: 4 kB / 0.4941 GB, free: 5.348 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.0006341/0.1351, allocations: 417.2 kB / 0.4945 GB, free: 4.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.1351, allocations: 19.88 kB / 0.4946 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.1352, allocations: 0.9375 kB / 0.4946 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.1353, allocations: 168.3 kB / 0.4947 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1353, allocations: 384 / 0.4947 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.1353, allocations: 4.125 kB / 0.4947 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1355, allocations: 29.7 kB / 0.4948 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1355, allocations: 4 kB / 0.4948 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1355, allocations: 0 / 0.4948 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1355, allocations: 0 / 0.4948 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.988e-05/0.1356, allocations: 0 / 0.4948 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.1357, allocations: 153.7 kB / 0.4949 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.452e-05/0.1358, allocations: 18.52 kB / 0.4949 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.1358, allocations: 16.89 kB / 0.4949 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.1358, allocations: 0 / 0.4949 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.898e-05/0.1359, allocations: 60.27 kB / 0.495 GB, free: 4.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.1359, allocations: 0 / 0.495 GB, free: 4.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001924/0.1361, allocations: 67.39 kB / 0.4951 GB, free: 4.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.1362, allocations: 77.11 kB / 0.4951 GB, free: 4.129 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.921e-05/0.1362, allocations: 89.86 kB / 0.4952 GB, free: 4.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1362, allocations: 29.64 kB / 0.4952 GB, free: 3.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.1363, allocations: 80.14 kB / 0.4953 GB, free: 3.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1363, allocations: 4 kB / 0.4953 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.1363, allocations: 13.84 kB / 0.4953 GB, free: 3.891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1364, allocations: 314.8 kB / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.1365, allocations: 7.984 kB / 0.4956 GB, free: 3.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-06/0.1365, allocations: 4 kB / 0.4957 GB, free: 3.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.04e-05/0.1365, allocations: 60.27 kB / 0.4957 GB, free: 3.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1365, allocations: 0 / 0.4957 GB, free: 3.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.358e-05/0.1366, allocations: 59.34 kB / 0.4958 GB, free: 3.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.1367, allocations: 41.78 kB / 0.4958 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1367, allocations: 3.984 kB / 0.4958 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1367, allocations: 0 / 0.4958 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.786e-06/0.1367, allocations: 7.875 kB / 0.4958 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1367, allocations: 0 / 0.4958 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.1368, allocations: 0 / 0.4958 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1368, allocations: 8 kB / 0.4958 GB, free: 3.352 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 8.809e-05/0.1369, allocations: 139.5 kB / 0.496 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.1369, allocations: 3.938 kB / 0.496 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/0.1369, allocations: 11.06 kB / 0.496 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1369, allocations: 4 kB / 0.496 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.137, allocations: 0 / 0.496 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.137, allocations: 0 / 0.496 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.1371, allocations: 145.7 kB / 0.4961 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1371, allocations: 3.938 kB / 0.4961 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1371, allocations: 0 / 0.4961 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.1371, allocations: 0 / 0.4961 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.1371, allocations: 4 kB / 0.4961 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1371, allocations: 0 / 0.4961 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1371, allocations: 0 / 0.4961 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.1372, allocations: 94.83 kB / 0.4962 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.1373, allocations: 85.03 kB / 0.4963 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.1373, allocations: 3.938 kB / 0.4963 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-06/0.1373, allocations: 0 / 0.4963 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.1373, allocations: 3.984 kB / 0.4963 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.1374, allocations: 4 kB / 0.4963 GB, free: 2.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.833e-05/0.1374, allocations: 75.28 kB / 0.4964 GB, free: 2.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1374, allocations: 4.031 kB / 0.4964 GB, free: 2.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008264/0.1382, allocations: 272 kB / 0.4966 GB, free: 2.402 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.001313/0.1396, allocations: 408.5 kB / 0.497 GB, free: 2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.1397, allocations: 59.41 kB / 0.4971 GB, free: 1.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1397, allocations: 0 / 0.4971 GB, free: 1.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.32e-05/0.1397, allocations: 59.39 kB / 0.4971 GB, free: 1.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.1399, allocations: 3.938 kB / 0.4971 GB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002366/0.1401, allocations: 92.89 kB / 0.4972 GB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.1404, allocations: 0.6729 MB / 0.4979 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.506e-06/0.1404, allocations: 4 kB / 0.4979 GB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.442e-05/0.1405, allocations: 7.438 kB / 0.4979 GB, free: 1.027 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1405, allocations: 0 / 0.4979 GB, free: 1.027 MB / 382.1 MB Notification: Performance of Templates: time 0.0128/0.1533, allocations: 7.297 MB / 0.505 GB, free: 9.719 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)