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.001661/0.001661, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001948/0.001948, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.328/1.328, allocations: 222.9 MB / 243.1 MB, free: 15.03 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.2009/0.2009, allocations: 44.18 MB / 337.4 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 59.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2927, allocations: 60.83 MB / 0.5195 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.00134/0.294, allocations: 0.4929 MB / 0.52 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.2957, allocations: 1.52 MB / 0.5215 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.865e-05/0.2958, allocations: 0 / 0.5215 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.164e-05/0.2958, allocations: 0 / 0.5215 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.621e-06/0.2958, allocations: 0 / 0.5215 GB, free: 2.211 MB / 382.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.0008053/0.2966, allocations: 223.8 kB / 0.5217 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.204e-05/0.2966, allocations: 1.219 kB / 0.5217 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.275e-05/0.2967, allocations: 2.141 kB / 0.5217 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.374e-05/0.2967, allocations: 5.219 kB / 0.5217 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.354e-05/0.2967, allocations: 3.984 kB / 0.5217 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.59e-06/0.2967, allocations: 0 / 0.5217 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009777/0.2977, allocations: 0.7033 MB / 0.5224 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.955e-06/0.2977, allocations: 1.094 kB / 0.5224 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.2978, allocations: 4.906 kB / 0.5224 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008509/0.2986, allocations: 0.6383 MB / 0.5231 GB, free: 1.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2986, allocations: 0.7031 kB / 0.5231 GB, free: 1.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2986, allocations: 1.219 kB / 0.5231 GB, free: 1.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2986, allocations: 0 / 0.5231 GB, free: 1.918 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.0003755/0.299, allocations: 364.6 kB / 0.5234 GB, free: 1.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2991, allocations: 9.641 kB / 0.5234 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.2991, allocations: 0.9375 kB / 0.5234 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.129e-05/0.2992, allocations: 166.9 kB / 0.5236 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.2992, allocations: 384 / 0.5236 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.2992, allocations: 6.328 kB / 0.5236 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.075e-05/0.2993, allocations: 40.77 kB / 0.5236 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2993, allocations: 0 / 0.5236 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.2993, allocations: 1.188 kB / 0.5236 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2993, allocations: 7.938 kB / 0.5236 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.972e-05/0.2993, allocations: 1.859 kB / 0.5236 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.089e-05/0.2994, allocations: 144.4 kB / 0.5238 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.99e-05/0.2995, allocations: 17.7 kB / 0.5238 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.232e-05/0.2995, allocations: 5.797 kB / 0.5238 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.2995, allocations: 1.094 kB / 0.5238 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.2995, allocations: 73.98 kB / 0.5239 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.2995, allocations: 0 / 0.5239 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.2997, allocations: 60.89 kB / 0.5239 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.2997, allocations: 79.14 kB / 0.524 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.02e-05/0.2998, allocations: 90.94 kB / 0.5241 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.151e-06/0.2998, allocations: 25.7 kB / 0.5241 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.159e-05/0.2998, allocations: 81.7 kB / 0.5242 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.2998, allocations: 3.938 kB / 0.5242 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.2998, allocations: 15.88 kB / 0.5242 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.617e-05/0.2999, allocations: 317.2 kB / 0.5245 GB, free: 264 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.2999, allocations: 0 / 0.5245 GB, free: 264 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.2999, allocations: 6.078 kB / 0.5245 GB, free: 260 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.232e-05/0.3, allocations: 59.94 kB / 0.5246 GB, free: 188 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3, allocations: 0 / 0.5246 GB, free: 188 kB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.1e-05/0.3, allocations: 64.28 kB / 0.5246 GB, free: 120 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.3, allocations: 37.09 kB / 0.5247 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3001, allocations: 96 / 0.5247 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3001, allocations: 4.562 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.3001, allocations: 0 / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.3001, allocations: 1.781 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.378e-05/0.3001, allocations: 0 / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.3001, allocations: 1.594 kB / 0.5247 GB, free: 80 kB / 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 9.223e-05/0.3002, allocations: 134.7 kB / 0.5248 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.3002, allocations: 5.641 kB / 0.5248 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.738e-06/0.3002, allocations: 3.969 kB / 0.5248 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.3003, allocations: 4 kB / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.3003, allocations: 5.188 kB / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.3003, allocations: 0 / 0.5248 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.667e-05/0.3004, allocations: 145.4 kB / 0.525 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3004, allocations: 0 / 0.525 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-06/0.3004, allocations: 10.53 kB / 0.525 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3004, allocations: 3.938 kB / 0.525 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.3004, allocations: 5.375 kB / 0.525 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.3004, allocations: 0 / 0.525 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3004, allocations: 0 / 0.525 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.731e-05/0.3005, allocations: 93.34 kB / 0.5251 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.3006, allocations: 78.19 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.3006, allocations: 5.719 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-06/0.3006, allocations: 0 / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.3006, allocations: 2.141 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.3006, allocations: 1.062 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.411e-05/0.3006, allocations: 75.28 kB / 0.5252 GB, free: 15.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3007, allocations: 0 / 0.5252 GB, free: 15.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000504/0.3012, allocations: 124.6 kB / 0.5253 GB, free: 15.43 MB / 398.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.0007184/0.3019, allocations: 183.1 kB / 0.5255 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.665e-05/0.302, allocations: 61.56 kB / 0.5256 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.302, allocations: 0 / 0.5256 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.302, allocations: 56.12 kB / 0.5256 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.3022, allocations: 2.75 kB / 0.5256 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001889/0.3024, allocations: 106.7 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.3026, allocations: 0.6759 MB / 0.5264 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.05e-05/0.3026, allocations: 7.438 kB / 0.5264 GB, free: 14.35 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3026, allocations: 128 / 0.5264 GB, free: 14.35 MB / 398.1 MB Notification: Performance of Templates: time 0.004715/0.3073, allocations: 2.702 MB / 0.529 GB, free: 13.22 MB / 398.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 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1)