Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01038/0.01038, allocations: 175.2 kB / 15.12 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.167/2.167, allocations: 194.5 MB / 210.3 MB, free: 8.582 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002105/0.002105, allocations: 120.7 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2843/0.2843, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004718, allocations: 10.84 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.106, allocations: 54.87 MB / 461.1 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.152/0.258, allocations: 81.7 MB / 0.5301 GB, free: 1.504 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.2583, allocations: 67.97 kB / 0.5302 GB, free: 1.438 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.591/1.85, allocations: 48.63 MB / 0.5777 GB, free: 48.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.577e-06/1.85, allocations: 0 / 0.5777 GB, free: 48.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.772e-06/1.85, allocations: 3.938 kB / 0.5777 GB, free: 48.02 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.004189/1.854, allocations: 448.8 kB / 0.5781 GB, free: 47.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/1.854, allocations: 12.02 kB / 0.5781 GB, free: 47.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.6e-05/1.854, allocations: 34.56 kB / 0.5781 GB, free: 47.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/1.854, allocations: 7.891 kB / 0.5782 GB, free: 47.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.484e-05/1.854, allocations: 159.1 kB / 0.5783 GB, free: 47.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/1.854, allocations: 4 kB / 0.5783 GB, free: 47.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/1.854, allocations: 0 / 0.5783 GB, free: 47.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.628e-05/1.854, allocations: 33.69 kB / 0.5783 GB, free: 47.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/1.854, allocations: 0 / 0.5783 GB, free: 47.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/1.854, allocations: 4 kB / 0.5783 GB, free: 47.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/1.854, allocations: 3.953 kB / 0.5783 GB, free: 47.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.526e-05/1.854, allocations: 7.938 kB / 0.5784 GB, free: 47.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/1.854, allocations: 221 kB / 0.5786 GB, free: 46.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.224e-05/1.855, allocations: 30.59 kB / 0.5786 GB, free: 46.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/1.855, allocations: 0 / 0.5786 GB, free: 46.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/1.855, allocations: 60.27 kB / 0.5787 GB, free: 46.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/1.855, allocations: 0 / 0.5787 GB, free: 46.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001915/1.855, allocations: 79.34 kB / 0.5787 GB, free: 46.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/1.855, allocations: 77.11 kB / 0.5788 GB, free: 46.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.229e-05/1.855, allocations: 85 kB / 0.5789 GB, free: 46.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/1.855, allocations: 25.7 kB / 0.5789 GB, free: 46.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.392e-05/1.855, allocations: 80.14 kB / 0.579 GB, free: 46.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/1.855, allocations: 7.906 kB / 0.579 GB, free: 46.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/1.855, allocations: 4.125 kB / 0.579 GB, free: 46.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.302e-05/1.855, allocations: 310.8 kB / 0.5793 GB, free: 46.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/1.855, allocations: 0 / 0.5793 GB, free: 46.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.045e-05/1.855, allocations: 8 kB / 0.5793 GB, free: 46.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/1.855, allocations: 33.69 kB / 0.5793 GB, free: 46.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/1.855, allocations: 0 / 0.5793 GB, free: 46.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.799e-05/1.855, allocations: 67.34 kB / 0.5794 GB, free: 46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/1.855, allocations: 29.7 kB / 0.5794 GB, free: 45.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.855, allocations: 0 / 0.5794 GB, free: 45.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/1.855, allocations: 8.094 kB / 0.5794 GB, free: 45.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.572e-05/1.855, allocations: 0 / 0.5794 GB, free: 45.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/1.855, allocations: 3.953 kB / 0.5794 GB, free: 45.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/1.855, allocations: 3.984 kB / 0.5794 GB, free: 45.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/1.855, allocations: 0 / 0.5794 GB, free: 45.95 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: 2 (result,$outputAlias_result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * 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 6.174e-05/1.855, allocations: 135.5 kB / 0.5796 GB, free: 45.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/1.855, allocations: 0 / 0.5796 GB, free: 45.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.777e-05/1.855, allocations: 11.02 kB / 0.5796 GB, free: 45.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/1.856, allocations: 0 / 0.5796 GB, free: 45.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.856, allocations: 8 kB / 0.5796 GB, free: 45.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.856, allocations: 7.891 kB / 0.5796 GB, free: 45.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/1.856, allocations: 300.3 kB / 0.5799 GB, free: 45.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.856, allocations: 0 / 0.5799 GB, free: 45.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-06/1.856, allocations: 0 / 0.5799 GB, free: 45.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.856, allocations: 0 / 0.5799 GB, free: 45.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/1.856, allocations: 8 kB / 0.5799 GB, free: 45.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/1.856, allocations: 0 / 0.5799 GB, free: 45.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.856, allocations: 3.953 kB / 0.5799 GB, free: 45.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/1.856, allocations: 169.5 kB / 0.5801 GB, free: 45.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/1.856, allocations: 81.11 kB / 0.5801 GB, free: 45.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/1.856, allocations: 0 / 0.5801 GB, free: 45.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.352e-05/1.856, allocations: 0 / 0.5801 GB, free: 45.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/1.856, allocations: 7.891 kB / 0.5801 GB, free: 45.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/1.856, allocations: 4 kB / 0.5801 GB, free: 45.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.537e-05/1.856, allocations: 75.28 kB / 0.5802 GB, free: 45.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.856, allocations: 4.031 kB / 0.5802 GB, free: 45.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007817/1.864, allocations: 1.316 MB / 0.5815 GB, free: 43.72 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: 2 (result,$outputAlias_result) * Number of discrete states: 1 ($outputAlias_result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.01301/1.877, allocations: 1.803 MB / 0.5833 GB, free: 41.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001546/1.877, allocations: 67.34 kB / 0.5833 GB, free: 41.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.877, allocations: 0 / 0.5833 GB, free: 41.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/1.877, allocations: 59.41 kB / 0.5834 GB, free: 41.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/1.878, allocations: 0 / 0.5834 GB, free: 41.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/1.882, allocations: 384.9 kB / 0.5838 GB, free: 41.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/1.882, allocations: 0.6731 MB / 0.5844 GB, free: 40.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.413e-05/1.882, allocations: 0 / 0.5844 GB, free: 40.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/1.882, allocations: 7.438 kB / 0.5844 GB, free: 40.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/1.882, allocations: 3.938 kB / 0.5844 GB, free: 40.6 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1592/2.041, allocations: 68.92 MB / 0.6517 GB, free: 3.633 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003015/2.041, allocations: 206.8 kB / 0.6519 GB, free: 3.391 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.503/11.54, allocations: 3.938 kB / 0.6519 GB, free: 3.387 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial_res.mat does not exist to compare? outputFormat=mat