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.001248/0.001248, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007983/0.0007983, allocations: 97.55 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1854/0.1854, allocations: 45.15 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.841e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1075, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3805/0.488, allocations: 87.95 MB / 0.5903 GB, free: 14.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001882/0.4882, allocations: 66.47 kB / 0.5904 GB, free: 14.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7144/1.203, allocations: 48.66 MB / 0.6379 GB, free: 2.305 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.953e-06/1.203, allocations: 4 kB / 0.6379 GB, free: 2.301 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.261e-06/1.203, allocations: 0 / 0.6379 GB, free: 2.301 MB / 426.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.002416/1.205, allocations: 439.3 kB / 0.6383 GB, free: 1.824 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.205, allocations: 8.031 kB / 0.6384 GB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/1.205, allocations: 0 / 0.6384 GB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.441e-05/1.205, allocations: 170.6 kB / 0.6385 GB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/1.205, allocations: 7.875 kB / 0.6385 GB, free: 1.605 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/1.205, allocations: 4 kB / 0.6385 GB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.674e-05/1.205, allocations: 0 / 0.6385 GB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.516e-05/1.205, allocations: 29.7 kB / 0.6386 GB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/1.206, allocations: 4 kB / 0.6386 GB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/1.206, allocations: 3.938 kB / 0.6386 GB, free: 1.559 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/1.206, allocations: 4 kB / 0.6386 GB, free: 1.555 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/1.206, allocations: 126.2 kB / 0.6387 GB, free: 1.395 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.65e-05/1.206, allocations: 14.58 kB / 0.6387 GB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/1.206, allocations: 8.953 kB / 0.6387 GB, free: 1.359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/1.206, allocations: 7.969 kB / 0.6387 GB, free: 1.352 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/1.206, allocations: 68.14 kB / 0.6388 GB, free: 1.273 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/1.206, allocations: 0 / 0.6388 GB, free: 1.273 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001754/1.206, allocations: 33.7 kB / 0.6388 GB, free: 1.234 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/1.206, allocations: 77.11 kB / 0.6389 GB, free: 1.141 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.249e-05/1.206, allocations: 85 kB / 0.639 GB, free: 1.051 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/1.206, allocations: 25.7 kB / 0.639 GB, free: 1.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/1.206, allocations: 80.14 kB / 0.6391 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/1.206, allocations: 4.031 kB / 0.6391 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/1.206, allocations: 0 / 0.6391 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/1.206, allocations: 318.8 kB / 0.6394 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-06/1.206, allocations: 3.312 kB / 0.6394 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-06/1.206, allocations: 0 / 0.6394 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.236e-05/1.206, allocations: 0 / 0.6394 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/1.206, allocations: 0 / 0.6394 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.622e-05/1.206, allocations: 41.59 kB / 0.6394 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/1.206, allocations: 29.7 kB / 0.6394 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/1.206, allocations: 4.094 kB / 0.6395 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/1.207, allocations: 4 kB / 0.6395 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/1.207, allocations: 0 / 0.6395 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.207, allocations: 3.984 kB / 0.6395 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.282e-05/1.207, allocations: 0 / 0.6395 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/1.207, allocations: 0 / 0.6395 GB, free: 0.5195 MB / 426.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 () * 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 7.748e-05/1.207, allocations: 130.7 kB / 0.6396 GB, free: 388 kB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.899e-05/1.207, allocations: 41.53 kB / 0.6396 GB, free: 344 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-06/1.207, allocations: 0 / 0.6396 GB, free: 344 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.584e-05/1.207, allocations: 15.72 kB / 0.6396 GB, free: 332 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/1.207, allocations: 0 / 0.6396 GB, free: 332 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.207, allocations: 4 kB / 0.6396 GB, free: 328 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/1.207, allocations: 0 / 0.6396 GB, free: 328 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.179e-05/1.207, allocations: 122.2 kB / 0.6398 GB, free: 168 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.207, allocations: 7.891 kB / 0.6398 GB, free: 160 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/1.207, allocations: 7.875 kB / 0.6398 GB, free: 152 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/1.207, allocations: 0 / 0.6398 GB, free: 152 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/1.207, allocations: 0 / 0.6398 GB, free: 152 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/1.207, allocations: 4 kB / 0.6398 GB, free: 148 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.207, allocations: 4 kB / 0.6398 GB, free: 144 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.592e-05/1.207, allocations: 60.44 kB / 0.6398 GB, free: 68 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/1.207, allocations: 81.06 kB / 0.6399 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/1.207, allocations: 4 kB / 0.6399 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-06/1.207, allocations: 0 / 0.6399 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/1.207, allocations: 3.984 kB / 0.6399 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/1.207, allocations: 0 / 0.6399 GB, free: 15.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.956e-05/1.207, allocations: 79.31 kB / 0.64 GB, free: 15.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.207, allocations: 0 / 0.64 GB, free: 15.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004537/1.212, allocations: 1.315 MB / 0.6413 GB, free: 14.57 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: 1 (result) * Number of discrete states: 1 (result) * 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.008575/1.22, allocations: 1.718 MB / 0.643 GB, free: 12.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/1.22, allocations: 55.41 kB / 0.643 GB, free: 12.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.22, allocations: 0 / 0.643 GB, free: 12.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.648e-05/1.22, allocations: 70.89 kB / 0.6431 GB, free: 12.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/1.221, allocations: 3.938 kB / 0.6431 GB, free: 12.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/1.222, allocations: 153.5 kB / 0.6432 GB, free: 12.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/1.223, allocations: 0.6729 MB / 0.6439 GB, free: 11.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.021e-06/1.223, allocations: 0 / 0.6439 GB, free: 11.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.72e-05/1.223, allocations: 11.44 kB / 0.6439 GB, free: 11.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/1.223, allocations: 0 / 0.6439 GB, free: 11.79 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/1.35, allocations: 69.33 MB / 0.7116 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/1.35, allocations: 153.8 kB / 0.7118 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.97/7.32, allocations: 0 / 0.7118 GB, free: 6.18 MB / 0.4948 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