Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009782/0.0009783, allocations: 196.4 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.211/1.211, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007711/0.0007712, allocations: 86.7 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.183/0.183, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.533e-05/2.536e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.09162, allocations: 63.25 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3494/0.4411, allocations: 88.62 MB / 0.598 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001742/0.4413, allocations: 66.41 kB / 0.5981 GB, free: 5.238 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.635/1.076, allocations: 48.82 MB / 0.6457 GB, free: 8.543 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.623e-06/1.076, allocations: 0 / 0.6457 GB, free: 8.543 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/1.076, allocations: 0 / 0.6457 GB, free: 8.543 MB / 442.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.001471/1.078, allocations: 447.5 kB / 0.6462 GB, free: 8.059 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.078, allocations: 15.97 kB / 0.6462 GB, free: 8.043 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.467e-05/1.078, allocations: 33.81 kB / 0.6462 GB, free: 8.004 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.071e-05/1.078, allocations: 0 / 0.6462 GB, free: 8.004 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.505e-05/1.078, allocations: 167 kB / 0.6464 GB, free: 7.801 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/1.078, allocations: 0 / 0.6464 GB, free: 7.801 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/1.078, allocations: 4 kB / 0.6464 GB, free: 7.797 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/1.078, allocations: 29.64 kB / 0.6464 GB, free: 7.762 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/1.078, allocations: 8 kB / 0.6464 GB, free: 7.754 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/1.078, allocations: 3.938 kB / 0.6464 GB, free: 7.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/1.078, allocations: 0 / 0.6464 GB, free: 7.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.891e-05/1.078, allocations: 3.312 kB / 0.6464 GB, free: 7.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/1.078, allocations: 228.9 kB / 0.6466 GB, free: 7.477 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.129e-05/1.078, allocations: 25.86 kB / 0.6467 GB, free: 7.445 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/1.079, allocations: 16.92 kB / 0.6467 GB, free: 7.426 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/1.079, allocations: 0 / 0.6467 GB, free: 7.426 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/1.079, allocations: 59.64 kB / 0.6467 GB, free: 7.355 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/1.079, allocations: 0 / 0.6467 GB, free: 7.355 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001674/1.079, allocations: 67.38 kB / 0.6468 GB, free: 7.277 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/1.079, allocations: 81.11 kB / 0.6469 GB, free: 7.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.894e-05/1.079, allocations: 88.31 kB / 0.647 GB, free: 7.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/1.079, allocations: 25.7 kB / 0.647 GB, free: 7.059 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.08e-05/1.079, allocations: 84.17 kB / 0.6471 GB, free: 6.973 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/1.079, allocations: 4.531 kB / 0.6471 GB, free: 6.969 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-06/1.079, allocations: 0 / 0.6471 GB, free: 6.969 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/1.079, allocations: 318.8 kB / 0.6474 GB, free: 6.648 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-06/1.079, allocations: 7.875 kB / 0.6474 GB, free: 6.641 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.235e-06/1.079, allocations: 7.5 kB / 0.6474 GB, free: 6.637 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.795e-05/1.079, allocations: 29.69 kB / 0.6474 GB, free: 6.602 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.079, allocations: 0 / 0.6474 GB, free: 6.602 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.828e-05/1.079, allocations: 67.47 kB / 0.6475 GB, free: 6.523 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/1.079, allocations: 29.7 kB / 0.6475 GB, free: 6.488 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/1.079, allocations: 0 / 0.6475 GB, free: 6.488 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/1.079, allocations: 0 / 0.6475 GB, free: 6.488 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.497e-05/1.079, allocations: 3.984 kB / 0.6475 GB, free: 6.484 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/1.079, allocations: 4 kB / 0.6475 GB, free: 6.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/1.079, allocations: 3.125 kB / 0.6475 GB, free: 6.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/1.079, allocations: 0 / 0.6475 GB, free: 6.48 MB / 442.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 () * 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 7.182e-05/1.079, allocations: 134.6 kB / 0.6476 GB, free: 6.336 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/1.079, allocations: 4.031 kB / 0.6476 GB, free: 6.332 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/1.079, allocations: 7.078 kB / 0.6477 GB, free: 6.324 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/1.079, allocations: 3.938 kB / 0.6477 GB, free: 6.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/1.079, allocations: 0 / 0.6477 GB, free: 6.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/1.079, allocations: 0 / 0.6477 GB, free: 6.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/1.08, allocations: 303.1 kB / 0.6479 GB, free: 5.969 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.08, allocations: 7.938 kB / 0.648 GB, free: 5.961 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-06/1.08, allocations: 0 / 0.648 GB, free: 5.961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/1.08, allocations: 0 / 0.648 GB, free: 5.961 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/1.08, allocations: 3.984 kB / 0.648 GB, free: 5.957 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/1.08, allocations: 8.031 kB / 0.648 GB, free: 5.949 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.08, allocations: 0 / 0.648 GB, free: 5.949 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/1.08, allocations: 168.5 kB / 0.6481 GB, free: 5.766 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/1.08, allocations: 77.11 kB / 0.6482 GB, free: 5.672 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/1.08, allocations: 4 kB / 0.6482 GB, free: 5.668 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.645e-05/1.08, allocations: 0 / 0.6482 GB, free: 5.668 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/1.08, allocations: 0 / 0.6482 GB, free: 5.668 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/1.08, allocations: 4.031 kB / 0.6482 GB, free: 5.664 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.206e-05/1.08, allocations: 79.03 kB / 0.6483 GB, free: 5.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.08, allocations: 0 / 0.6483 GB, free: 5.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003349/1.083, allocations: 1.315 MB / 0.6496 GB, free: 4.281 MB / 442.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) * 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.005382/1.089, allocations: 1.822 MB / 0.6513 GB, free: 2.445 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.14e-05/1.089, allocations: 59.41 kB / 0.6514 GB, free: 2.375 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.089, allocations: 4.062 kB / 0.6514 GB, free: 2.371 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/1.089, allocations: 66.47 kB / 0.6515 GB, free: 2.297 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001013/1.089, allocations: 1.266 kB / 0.6515 GB, free: 2.297 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/1.09, allocations: 165.1 kB / 0.6516 GB, free: 2.102 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/1.09, allocations: 0.6731 MB / 0.6523 GB, free: 1.402 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.051e-05/1.09, allocations: 0 / 0.6523 GB, free: 1.402 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.585e-05/1.09, allocations: 15.38 kB / 0.6523 GB, free: 1.387 MB / 442.7 MB Notification: Performance of SimCode: time 2.51e-07/1.09, allocations: 0 / 0.6523 GB, free: 1.387 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/1.192, allocations: 69.08 MB / 0.7198 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/1.192, allocations: 178.2 kB / 0.7199 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.205/6.397, allocations: 0 / 0.7199 GB, free: 12.08 MB / 0.5105 GB (rm -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_Random_TestSpecial_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_Random_TestSpecial.fmu > ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_res.mat does not exist to compare? outputFormat=mat