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.001125/0.001125, allocations: 108.1 kB / 16.41 MB, free: 6.488 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.00109/0.001091, allocations: 188.1 kB / 17.34 MB, free: 5.766 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.6/1.6, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2197/0.2197, allocations: 43.52 MB / 314.1 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.001688/0.001688, allocations: 63.84 kB / 441.8 MB, free: 5.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1174, allocations: 57.8 MB / 499.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001771/0.1192, allocations: 0.491 MB / 0.4883 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00338/0.1227, allocations: 2.129 MB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.1227, allocations: 3.938 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.1227, allocations: 7.938 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/0.1228, allocations: 0 / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.1248, allocations: 0.7248 MB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.837e-05/0.1248, allocations: 0 / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.1249, allocations: 0 / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.615e-05/0.1249, allocations: 4 kB / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.825e-05/0.1249, allocations: 4 kB / 0.4912 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.611e-06/0.1249, allocations: 0 / 0.4912 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002283/0.1272, allocations: 1.502 MB / 0.4926 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.828e-06/0.1272, allocations: 0 / 0.4926 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.1273, allocations: 4 kB / 0.4926 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.1292, allocations: 1.552 MB / 0.4941 GB, free: 5.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1292, allocations: 4 kB / 0.4941 GB, free: 5.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1292, allocations: 4 kB / 0.4941 GB, free: 5.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1293, allocations: 0 / 0.4941 GB, free: 5.383 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.0006996/0.13, allocations: 409.3 kB / 0.4945 GB, free: 4.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.13, allocations: 11.89 kB / 0.4945 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.13, allocations: 0.9375 kB / 0.4945 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1302, allocations: 164.4 kB / 0.4947 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.1302, allocations: 12.25 kB / 0.4947 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.1302, allocations: 4.125 kB / 0.4947 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.221e-05/0.1303, allocations: 33.69 kB / 0.4948 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1303, allocations: 0 / 0.4948 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1303, allocations: 4 kB / 0.4948 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1303, allocations: 0 / 0.4948 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.1304, allocations: 0 / 0.4948 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.1305, allocations: 141.7 kB / 0.4949 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.882e-05/0.1305, allocations: 22.55 kB / 0.4949 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.1306, allocations: 16.8 kB / 0.4949 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.1306, allocations: 7.984 kB / 0.4949 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.1306, allocations: 64.31 kB / 0.495 GB, free: 4.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1306, allocations: 0 / 0.495 GB, free: 4.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001658/0.1308, allocations: 55.41 kB / 0.4951 GB, free: 4.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.1309, allocations: 81.11 kB / 0.4951 GB, free: 4.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.15e-05/0.1309, allocations: 89.86 kB / 0.4952 GB, free: 4.074 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.1309, allocations: 29.7 kB / 0.4952 GB, free: 4.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.131, allocations: 80.27 kB / 0.4953 GB, free: 3.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.131, allocations: 4 kB / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.131, allocations: 17.7 kB / 0.4953 GB, free: 3.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1311, allocations: 310.8 kB / 0.4956 GB, free: 3.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.1312, allocations: 11.88 kB / 0.4956 GB, free: 3.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.1312, allocations: 0 / 0.4956 GB, free: 3.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.145e-05/0.1312, allocations: 60.27 kB / 0.4957 GB, free: 3.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1312, allocations: 0 / 0.4957 GB, free: 3.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.621e-05/0.1313, allocations: 75.39 kB / 0.4958 GB, free: 3.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.1313, allocations: 29.7 kB / 0.4958 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1314, allocations: 0 / 0.4958 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1314, allocations: 0 / 0.4958 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-06/0.1314, allocations: 4 kB / 0.4958 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1314, allocations: 0 / 0.4958 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.1314, allocations: 0 / 0.4958 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.1314, allocations: 0 / 0.4958 GB, free: 3.406 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.287e-05/0.1315, allocations: 143.4 kB / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.1315, allocations: 11.95 kB / 0.496 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.388e-05/0.1315, allocations: 3.125 kB / 0.496 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.1315, allocations: 3.938 kB / 0.496 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1316, allocations: 0 / 0.496 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.1316, allocations: 0 / 0.496 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.287e-05/0.1317, allocations: 153.7 kB / 0.4961 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1317, allocations: 3.938 kB / 0.4961 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1317, allocations: 0 / 0.4961 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1317, allocations: 3.984 kB / 0.4961 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1317, allocations: 0 / 0.4961 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.1317, allocations: 0 / 0.4961 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1317, allocations: 4 kB / 0.4961 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.155e-05/0.1318, allocations: 86.84 kB / 0.4962 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.1318, allocations: 85.03 kB / 0.4963 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.1318, allocations: 0 / 0.4963 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-06/0.1319, allocations: 4 kB / 0.4963 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.1319, allocations: 0 / 0.4963 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.1319, allocations: 3.938 kB / 0.4963 GB, free: 2.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.34e-05/0.1319, allocations: 79.31 kB / 0.4964 GB, free: 2.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1319, allocations: 0 / 0.4964 GB, free: 2.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007106/0.1326, allocations: 272 kB / 0.4966 GB, free: 2.453 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.001287/0.1339, allocations: 408.9 kB / 0.497 GB, free: 2.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.1341, allocations: 67.33 kB / 0.4971 GB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1341, allocations: 0 / 0.4971 GB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.1341, allocations: 55.41 kB / 0.4971 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.1343, allocations: 7.938 kB / 0.4971 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/0.1345, allocations: 92.95 kB / 0.4972 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.1348, allocations: 0.6729 MB / 0.4979 GB, free: 1.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.686e-06/0.1348, allocations: 0 / 0.4979 GB, free: 1.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.398e-05/0.1348, allocations: 11.38 kB / 0.4979 GB, free: 1.07 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1348, allocations: 0 / 0.4979 GB, free: 1.07 MB / 382.1 MB Notification: Performance of Templates: time 0.01174/0.1466, allocations: 7.301 MB / 0.505 GB, free: 9.758 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)