Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001721/0.00172, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009445/0.0009446, allocations: 107.4 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3173/0.3173, allocations: 44.13 MB / 386.1 MB, free: 37.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 63.91 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3003, allocations: 60.79 MB / 0.5064 GB, free: 38.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.002029/0.3024, allocations: 0.5497 MB / 0.5069 GB, free: 38.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00328/0.3057, allocations: 2.158 MB / 0.509 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.483e-05/0.3057, allocations: 0 / 0.509 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.078e-05/0.3058, allocations: 0 / 0.509 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.482e-06/0.3058, allocations: 0 / 0.509 GB, free: 36.55 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices2b‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.3077, allocations: 0.6432 MB / 0.5097 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.246e-05/0.3078, allocations: 2.625 kB / 0.5097 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.3078, allocations: 0 / 0.5097 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.672e-05/0.3078, allocations: 4 kB / 0.5097 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.785e-05/0.3079, allocations: 2.594 kB / 0.5097 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-06/0.3079, allocations: 0 / 0.5097 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.3097, allocations: 1.389 MB / 0.511 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.3097, allocations: 0 / 0.511 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.3097, allocations: 11.81 kB / 0.511 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.3113, allocations: 1.546 MB / 0.5125 GB, free: 35.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3114, allocations: 0 / 0.5125 GB, free: 35.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.3114, allocations: 0 / 0.5125 GB, free: 35.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.3114, allocations: 0 / 0.5125 GB, free: 35.75 MB / 378.7 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.0007226/0.3121, allocations: 412.3 kB / 0.5129 GB, free: 35.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3121, allocations: 8.562 kB / 0.5129 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/0.3122, allocations: 3.5 kB / 0.5129 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.539e-05/0.3122, allocations: 163.6 kB / 0.5131 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3123, allocations: 4.312 kB / 0.5131 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.3123, allocations: 4.125 kB / 0.5131 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.305e-05/0.3124, allocations: 32.23 kB / 0.5131 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.3124, allocations: 0 / 0.5131 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.3124, allocations: 2.844 kB / 0.5131 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3124, allocations: 0 / 0.5131 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.611e-05/0.3124, allocations: 0 / 0.5131 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.991e-05/0.3125, allocations: 151.7 kB / 0.5133 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.866e-05/0.3125, allocations: 18.52 kB / 0.5133 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.242e-05/0.3126, allocations: 15.52 kB / 0.5133 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.3126, allocations: 0 / 0.5133 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3126, allocations: 56.27 kB / 0.5134 GB, free: 34.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.3126, allocations: 3 kB / 0.5134 GB, free: 34.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001445/0.3128, allocations: 65.25 kB / 0.5134 GB, free: 34.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.3128, allocations: 77.11 kB / 0.5135 GB, free: 34.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.896e-05/0.3128, allocations: 89.86 kB / 0.5136 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.3128, allocations: 25.7 kB / 0.5136 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.133e-05/0.3129, allocations: 86.45 kB / 0.5137 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.3129, allocations: 0 / 0.5137 GB, free: 34.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.3129, allocations: 14.97 kB / 0.5137 GB, free: 34.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.63e-05/0.313, allocations: 314.8 kB / 0.514 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.313, allocations: 7.125 kB / 0.514 GB, free: 34.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-06/0.313, allocations: 0 / 0.514 GB, free: 34.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.313, allocations: 58.92 kB / 0.5141 GB, free: 34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.313, allocations: 4.062 kB / 0.5141 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.047e-05/0.3131, allocations: 66.84 kB / 0.5141 GB, free: 33.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.3131, allocations: 32.61 kB / 0.5142 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3131, allocations: 0 / 0.5142 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3132, allocations: 0 / 0.5142 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.784e-06/0.3132, allocations: 0 / 0.5142 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3132, allocations: 3.938 kB / 0.5142 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.3132, allocations: 2.812 kB / 0.5142 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3132, allocations: 7.125 kB / 0.5142 GB, free: 33.89 MB / 378.7 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.258e-05/0.3133, allocations: 148.4 kB / 0.5143 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-06/0.3133, allocations: 3.938 kB / 0.5143 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.157e-06/0.3133, allocations: 3.125 kB / 0.5143 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.3133, allocations: 0 / 0.5143 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3133, allocations: 0 / 0.5143 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-06/0.3133, allocations: 2.812 kB / 0.5143 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.953e-05/0.3134, allocations: 144.9 kB / 0.5145 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3134, allocations: 3.938 kB / 0.5145 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3134, allocations: 0 / 0.5145 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3134, allocations: 2.562 kB / 0.5145 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.3134, allocations: 8 kB / 0.5145 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3134, allocations: 0 / 0.5145 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3134, allocations: 0 / 0.5145 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.3136, allocations: 0.6366 MB / 0.5151 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.3136, allocations: 85 kB / 0.5152 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.3136, allocations: 3.375 kB / 0.5152 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-06/0.3137, allocations: 6.844 kB / 0.5152 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.3137, allocations: 0 / 0.5152 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.3137, allocations: 4 kB / 0.5152 GB, free: 32.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.265e-05/0.3137, allocations: 75.28 kB / 0.5153 GB, free: 32.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3137, allocations: 0 / 0.5153 GB, free: 32.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001052/0.3148, allocations: 279.5 kB / 0.5155 GB, free: 32.64 MB / 378.7 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.001246/0.316, allocations: 416.2 kB / 0.5159 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.605e-05/0.3161, allocations: 65.67 kB / 0.516 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3161, allocations: 0 / 0.516 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.405e-05/0.3162, allocations: 56.91 kB / 0.5161 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.3163, allocations: 1.094 kB / 0.5161 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001671/0.3165, allocations: 179.3 kB / 0.5162 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.941e-05/0.3165, allocations: 0.6714 MB / 0.5169 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.192e-06/0.3166, allocations: 1.344 kB / 0.5169 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.225e-06/0.3166, allocations: 8.531 kB / 0.5169 GB, free: 31.45 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3166, allocations: 0 / 0.5169 GB, free: 31.45 MB / 378.7 MB Notification: Performance of Templates: time 0.01061/0.3272, allocations: 7.421 MB / 0.5241 GB, free: 30.94 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)