Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.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) 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(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001414/0.001414, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.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.0004861/0.0004861, allocations: 14.64 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3022, allocations: 47.59 MB / 326.5 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.0006581/0.303, allocations: 212 kB / 326.7 MB, free: 1.219 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002132/0.3032, allocations: 53.53 kB / 326.7 MB, free: 1.184 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.3032, allocations: 0 / 326.7 MB, free: 1.184 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.3033, allocations: 0 / 326.7 MB, free: 1.184 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 7.486e-05/0.3033, allocations: 20.47 kB / 326.7 MB, free: 1.172 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.3035, allocations: 19.58 kB / 326.8 MB, free: 1.16 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 5.654e-05/0.3036, allocations: 12.27 kB / 326.8 MB, free: 1.156 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.332e-05/0.3036, allocations: 1.031 kB / 326.8 MB, free: 1.156 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.015e-05/0.3037, allocations: 10.61 kB / 326.8 MB, free: 1.152 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.3038, allocations: 31.94 kB / 326.8 MB, free: 1.133 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.3038, allocations: 1.094 kB / 326.8 MB, free: 1.133 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.504e-05/0.3038, allocations: 8.406 kB / 326.8 MB, free: 1.129 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.3039, allocations: 7.391 kB / 326.8 MB, free: 1.125 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.3039, allocations: 27.73 kB / 326.9 MB, free: 1.094 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 7.789e-05/0.304, allocations: 13.2 kB / 326.9 MB, free: 1.09 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.304, allocations: 0 / 326.9 MB, free: 1.09 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.304, allocations: 3.938 kB / 326.9 MB, free: 1.086 MB / 254.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.304, allocations: 0 / 326.9 MB, free: 1.086 MB / 254.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002566/0.3043, allocations: 363.2 kB / 327.2 MB, free: 0.6875 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3043, allocations: 8.625 kB / 327.2 MB, free: 0.6875 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.3044, allocations: 2.062 kB / 327.2 MB, free: 0.6875 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.121e-05/0.3044, allocations: 172.9 kB / 327.4 MB, free: 492 kB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3045, allocations: 1.156 kB / 327.4 MB, free: 492 kB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.3045, allocations: 6.094 kB / 327.4 MB, free: 488 kB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.3046, allocations: 66.25 kB / 327.5 MB, free: 440 kB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.3046, allocations: 0 / 327.5 MB, free: 440 kB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3046, allocations: 1.062 kB / 327.5 MB, free: 440 kB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3047, allocations: 0 / 327.5 MB, free: 440 kB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.578e-05/0.3047, allocations: 34.2 kB / 327.5 MB, free: 428 kB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.3048, allocations: 159.1 kB / 327.7 MB, free: 224 kB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.777e-05/0.3049, allocations: 46.44 kB / 327.7 MB, free: 192 kB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.835e-05/0.3049, allocations: 32.23 kB / 327.8 MB, free: 180 kB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.305, allocations: 1.406 kB / 327.8 MB, free: 180 kB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.305, allocations: 65.47 kB / 327.8 MB, free: 100 kB / 254.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.305, allocations: 1.438 kB / 327.8 MB, free: 100 kB / 254.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003111/0.3053, allocations: 187.7 kB / 328 MB, free: 4 kB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/0.3054, allocations: 82.2 kB / 328.1 MB, free: 15.91 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.079e-05/0.3055, allocations: 111 kB / 328.2 MB, free: 15.8 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.3055, allocations: 25.7 kB / 328.2 MB, free: 15.77 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.3056, allocations: 83.05 kB / 328.3 MB, free: 15.69 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.3056, allocations: 11.77 kB / 328.3 MB, free: 15.68 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/0.3056, allocations: 0 / 328.3 MB, free: 15.68 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3058, allocations: 314.8 kB / 328.6 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-05/0.3058, allocations: 29.48 kB / 328.6 MB, free: 15.36 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/0.3058, allocations: 25.39 kB / 328.7 MB, free: 15.35 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.238e-05/0.3059, allocations: 57.62 kB / 328.7 MB, free: 15.31 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3059, allocations: 0 / 328.7 MB, free: 15.31 MB / 270.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001673/0.3061, allocations: 152.5 kB / 328.9 MB, free: 15.23 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.3061, allocations: 40.23 kB / 328.9 MB, free: 15.19 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.3061, allocations: 3.953 kB / 328.9 MB, free: 15.19 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.3062, allocations: 1.219 kB / 328.9 MB, free: 15.19 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.925e-06/0.3062, allocations: 4 kB / 328.9 MB, free: 15.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3062, allocations: 0 / 328.9 MB, free: 15.18 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.274e-05/0.3062, allocations: 10.77 kB / 328.9 MB, free: 15.18 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.3062, allocations: 1.375 kB / 328.9 MB, free: 15.18 MB / 270.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: 4 (success1,success2,success3,success4) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.816e-05/0.3063, allocations: 140.1 kB / 329.1 MB, free: 15.03 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.3063, allocations: 6.734 kB / 329.1 MB, free: 15.03 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.354e-05/0.3064, allocations: 5.25 kB / 329.1 MB, free: 15.02 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3064, allocations: 5.266 kB / 329.1 MB, free: 15.02 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.3064, allocations: 3.938 kB / 329.1 MB, free: 15.01 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3064, allocations: 0 / 329.1 MB, free: 15.01 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.3065, allocations: 157.4 kB / 329.2 MB, free: 14.82 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3065, allocations: 4 kB / 329.3 MB, free: 14.81 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3065, allocations: 0 / 329.3 MB, free: 14.81 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3065, allocations: 1.312 kB / 329.3 MB, free: 14.81 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3065, allocations: 5.297 kB / 329.3 MB, free: 14.81 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3065, allocations: 1.188 kB / 329.3 MB, free: 14.81 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3065, allocations: 3.953 kB / 329.3 MB, free: 14.8 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.3068, allocations: 195 kB / 329.5 MB, free: 14.68 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.3068, allocations: 86.31 kB / 329.5 MB, free: 14.58 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.3068, allocations: 10.84 kB / 329.5 MB, free: 14.57 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.296e-05/0.3069, allocations: 1.375 kB / 329.5 MB, free: 14.57 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-05/0.3069, allocations: 3.953 kB / 329.6 MB, free: 14.57 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.3069, allocations: 2.5 kB / 329.6 MB, free: 14.57 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.166e-05/0.307, allocations: 87.45 kB / 329.6 MB, free: 14.49 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.307, allocations: 1.094 kB / 329.6 MB, free: 14.49 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0001861/0.3072, allocations: 12.44 kB / 329.7 MB, free: 14.48 MB / 270.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: 4 (success1,success2,success3,success4) * Number of discrete states: 4 (success4,success3,success2,success1) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002738/0.3074, allocations: 138.1 kB / 329.8 MB, free: 14.36 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.3076, allocations: 126.8 kB / 329.9 MB, free: 14.28 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3076, allocations: 0 / 329.9 MB, free: 14.28 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 6.929e-05/0.3077, allocations: 94.3 kB / 330 MB, free: 14.21 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.3078, allocations: 3.25 kB / 330 MB, free: 14.21 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.3081, allocations: 147 kB / 330.2 MB, free: 14.08 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.3084, allocations: 0.6841 MB / 330.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.891e-06/0.3084, allocations: 0 / 330.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-06/0.3084, allocations: 7.438 kB / 330.8 MB, free: 13.37 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3084, allocations: 0.9062 kB / 330.8 MB, free: 13.37 MB / 270.1 MB Notification: Performance of Templates: time 0.002888/0.3113, allocations: 0.6256 MB / 331.5 MB, free: 13.05 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile (rm -f Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; mkfifo Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe >> ../files/Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.sim & ./Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Utilities.Examples.WriteRealMatrixToFile.pipe 2>&1)