Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001797/0.001798, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1997/0.1997, allocations: 44.19 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.5 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1254, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.00179/0.1272, allocations: 490.8 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.1297, allocations: 1.516 MB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.1298, allocations: 0 / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.1298, allocations: 3.938 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.039e-06/0.1298, allocations: 4 kB / 472.7 MB, free: 11.63 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008437/0.1307, allocations: 223.2 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.304e-05/0.1307, allocations: 4 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.1308, allocations: 7.984 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.825e-05/0.1308, allocations: 3.984 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.687e-05/0.1308, allocations: 0 / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.571e-06/0.1309, allocations: 0 / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008953/0.1318, allocations: 0.6986 MB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.634e-06/0.1318, allocations: 4 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.1318, allocations: 7.922 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007307/0.1325, allocations: 0.6434 MB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1326, allocations: 0 / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1326, allocations: 0 / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1326, allocations: 0 / 474.3 MB, free: 10.05 MB / 350.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.0003971/0.133, allocations: 365.3 kB / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.133, allocations: 8.031 kB / 474.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.1331, allocations: 0.9375 kB / 474.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.861e-05/0.1332, allocations: 164.4 kB / 474.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1332, allocations: 4.375 kB / 474.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-06/0.1332, allocations: 4.375 kB / 474.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.186e-05/0.1333, allocations: 30.02 kB / 474.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1333, allocations: 3.984 kB / 474.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.1333, allocations: 0 / 474.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1333, allocations: 4 kB / 474.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.602e-05/0.1333, allocations: 0 / 474.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001168/0.1335, allocations: 153.6 kB / 475 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.63e-05/0.1335, allocations: 22.61 kB / 475 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.438e-05/0.1335, allocations: 4.859 kB / 475 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-06/0.1336, allocations: 3.938 kB / 475 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.1336, allocations: 60.2 kB / 475.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1336, allocations: 0 / 475.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001785/0.1338, allocations: 71.39 kB / 475.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.1339, allocations: 81.11 kB / 475.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.327e-05/0.1339, allocations: 93.98 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.1339, allocations: 25.7 kB / 475.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.134, allocations: 80.14 kB / 475.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.134, allocations: 3.938 kB / 475.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.134, allocations: 13.72 kB / 475.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1342, allocations: 314.8 kB / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-06/0.1342, allocations: 0 / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-06/0.1342, allocations: 0 / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.412e-05/0.1342, allocations: 68.31 kB / 475.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1342, allocations: 0 / 475.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.015e-05/0.1343, allocations: 63.34 kB / 475.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.1344, allocations: 37.64 kB / 475.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1344, allocations: 0 / 475.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1344, allocations: 0 / 475.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-06/0.1344, allocations: 3.984 kB / 475.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1344, allocations: 4 kB / 475.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.1344, allocations: 0 / 475.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.1345, allocations: 4.031 kB / 475.9 MB, free: 8.117 MB / 350.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 7.842e-05/0.1345, allocations: 135.5 kB / 476.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.1345, allocations: 3.938 kB / 476.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.057e-06/0.1346, allocations: 3.125 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1346, allocations: 0 / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1346, allocations: 0 / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1346, allocations: 0 / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.704e-05/0.1347, allocations: 149.7 kB / 476.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1347, allocations: 4 kB / 476.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1347, allocations: 0 / 476.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1347, allocations: 7.938 kB / 476.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.1347, allocations: 0 / 476.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.1347, allocations: 0 / 476.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1347, allocations: 0 / 476.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.926e-05/0.1348, allocations: 102.6 kB / 476.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.1349, allocations: 77.11 kB / 476.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.1349, allocations: 3.938 kB / 476.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.003e-05/0.1349, allocations: 8.031 kB / 476.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.1349, allocations: 4 kB / 476.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.1349, allocations: 0 / 476.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.235e-05/0.135, allocations: 75.28 kB / 476.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.135, allocations: 0 / 476.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003556/0.1353, allocations: 120 kB / 476.6 MB, free: 7.328 MB / 350.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.0006697/0.136, allocations: 191 kB / 476.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.512e-05/0.1361, allocations: 63.39 kB / 476.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1361, allocations: 0 / 476.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.509e-05/0.1362, allocations: 59.34 kB / 476.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.1363, allocations: 128 / 476.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001645/0.1365, allocations: 84.94 kB / 477 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.1368, allocations: 0.6729 MB / 477.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.881e-06/0.1368, allocations: 4 kB / 477.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-06/0.1368, allocations: 7.438 kB / 477.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1368, allocations: 0 / 477.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of Templates: time 0.006495/0.1433, allocations: 3.908 MB / 481.6 MB, free: 2.262 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1)