Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001156/0.001156, allocations: 187 kB / 19.34 MB, free: 3.641 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.3/1.3, allocations: 222.9 MB / 243 MB, free: 15.16 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.224/0.224, allocations: 44.18 MB / 337.4 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001979, allocations: 66.8 kB / 409.9 MB, free: 26.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1229, allocations: 60.82 MB / 470.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.00197/0.1249, allocations: 494.8 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007535/0.1325, allocations: 4.838 MB / 476 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.813e-05/0.1325, allocations: 0 / 476 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.1325, allocations: 4 kB / 476 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.12e-06/0.1326, allocations: 0 / 476 MB, free: 8.352 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00692/0.1395, allocations: 2.942 MB / 479 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.743e-05/0.1396, allocations: 0 / 479 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.1396, allocations: 0 / 479 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.333e-05/0.1396, allocations: 0 / 479 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.768e-05/0.1396, allocations: 4 kB / 479 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.382e-06/0.1397, allocations: 0 / 479 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02502/0.1647, allocations: 18.81 MB / 497.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.879e-06/0.1647, allocations: 0 / 497.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.1647, allocations: 3.984 kB / 497.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2427/0.4075, allocations: 27.47 MB / 0.5129 GB, free: 28.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4075, allocations: 0 / 0.5129 GB, free: 28.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4076, allocations: 0 / 0.5129 GB, free: 28.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.4076, allocations: 1.281 kB / 0.5129 GB, free: 28.69 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.01505/0.4226, allocations: 0.6492 MB / 0.5136 GB, free: 28.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.4227, allocations: 9.812 kB / 0.5136 GB, free: 28.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.4228, allocations: 0.9375 kB / 0.5136 GB, free: 28.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.55e-05/0.4228, allocations: 170.4 kB / 0.5137 GB, free: 28.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.4228, allocations: 1.406 kB / 0.5137 GB, free: 28.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.4229, allocations: 3 kB / 0.5137 GB, free: 28.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.585e-05/0.423, allocations: 30.73 kB / 0.5138 GB, free: 27.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.423, allocations: 0 / 0.5138 GB, free: 27.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.423, allocations: 5.172 kB / 0.5138 GB, free: 27.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.423, allocations: 0 / 0.5138 GB, free: 27.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.065e-05/0.423, allocations: 5.188 kB / 0.5138 GB, free: 27.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.108e-05/0.4231, allocations: 151.5 kB / 0.5139 GB, free: 27.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.773e-05/0.4232, allocations: 18.86 kB / 0.5139 GB, free: 27.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.4232, allocations: 9.297 kB / 0.514 GB, free: 27.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.4232, allocations: 0 / 0.514 GB, free: 27.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.4232, allocations: 59.61 kB / 0.514 GB, free: 27.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.984e-06/0.4233, allocations: 5.344 kB / 0.514 GB, free: 27.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001675/0.4234, allocations: 66.61 kB / 0.5141 GB, free: 27.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.4235, allocations: 81.27 kB / 0.5142 GB, free: 27.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.695e-05/0.4235, allocations: 89.86 kB / 0.5142 GB, free: 27.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.831e-06/0.4235, allocations: 26.52 kB / 0.5143 GB, free: 27.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.706e-06/0.4235, allocations: 81.08 kB / 0.5144 GB, free: 27.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.4235, allocations: 3.625 kB / 0.5144 GB, free: 27.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.4236, allocations: 14.81 kB / 0.5144 GB, free: 27.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.278e-05/0.4236, allocations: 311.5 kB / 0.5147 GB, free: 27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-06/0.4236, allocations: 5.562 kB / 0.5147 GB, free: 27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.4236, allocations: 0 / 0.5147 GB, free: 27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.4237, allocations: 72 kB / 0.5147 GB, free: 26.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4237, allocations: 0 / 0.5147 GB, free: 26.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.447e-05/0.4238, allocations: 61.59 kB / 0.5148 GB, free: 26.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.4238, allocations: 34.89 kB / 0.5148 GB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.4238, allocations: 0 / 0.5148 GB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4238, allocations: 0.8438 kB / 0.5148 GB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-06/0.4238, allocations: 5.578 kB / 0.5148 GB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4238, allocations: 2.688 kB / 0.5148 GB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.738e-05/0.4239, allocations: 0 / 0.5148 GB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4239, allocations: 1.656 kB / 0.5148 GB, free: 26.83 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 5.094e-05/0.4239, allocations: 139.4 kB / 0.515 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.4239, allocations: 1.938 kB / 0.515 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.217e-06/0.424, allocations: 4.906 kB / 0.515 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.424, allocations: 0 / 0.515 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.424, allocations: 0 / 0.515 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.424, allocations: 2.312 kB / 0.515 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.634e-05/0.424, allocations: 153.9 kB / 0.5151 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.424, allocations: 0.6562 kB / 0.5151 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/0.424, allocations: 0.875 kB / 0.5151 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.424, allocations: 1.656 kB / 0.5151 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.4241, allocations: 1.844 kB / 0.5151 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.4241, allocations: 3.172 kB / 0.5151 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4241, allocations: 0 / 0.5151 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.54e-05/0.4241, allocations: 98.23 kB / 0.5152 GB, free: 26.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.4242, allocations: 77.11 kB / 0.5153 GB, free: 26.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.4242, allocations: 2.062 kB / 0.5153 GB, free: 26.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-06/0.4242, allocations: 4.328 kB / 0.5153 GB, free: 26.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.4242, allocations: 2 kB / 0.5153 GB, free: 26.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.4242, allocations: 0 / 0.5153 GB, free: 26.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.155e-05/0.4242, allocations: 80.56 kB / 0.5154 GB, free: 26.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4242, allocations: 0.875 kB / 0.5154 GB, free: 26.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0165/0.4407, allocations: 3.782 MB / 0.5191 GB, free: 26.12 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.03545/0.4762, allocations: 0.9632 MB / 0.52 GB, free: 25.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.4764, allocations: 63.69 kB / 0.5201 GB, free: 25.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.4764, allocations: 4.25 kB / 0.5201 GB, free: 25.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.025e-05/0.4765, allocations: 57.28 kB / 0.5201 GB, free: 25.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.4766, allocations: 5.562 kB / 0.5201 GB, free: 25.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.4769, allocations: 88.94 kB / 0.5202 GB, free: 25.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.477, allocations: 0.6726 MB / 0.5209 GB, free: 25.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.392e-06/0.477, allocations: 0 / 0.5209 GB, free: 25.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.286e-05/0.477, allocations: 10.03 kB / 0.5209 GB, free: 25.01 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.477, allocations: 4.719 kB / 0.5209 GB, free: 25.01 MB / 382.1 MB Notification: Performance of Templates: time 0.1508/0.6278, allocations: 112.6 MB / 0.6309 GB, free: 10.41 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1)