Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 170.4 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 221.5 MB / 230.7 MB, free: 7.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000919/0.000919, allocations: 94.97 kB / 281.6 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2322/0.2322, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.85e-05, allocations: 4 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1387, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4373/0.5761, allocations: 86.88 MB / 0.5796 GB, free: 9.488 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.5764, allocations: 63.97 kB / 0.5797 GB, free: 9.426 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7333/1.31, allocations: 48.54 MB / 0.6271 GB, free: 8.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.31, allocations: 0 / 0.6271 GB, free: 8.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/1.31, allocations: 0 / 0.6271 GB, free: 8.84 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.004815/1.315, allocations: 436 kB / 0.6275 GB, free: 8.363 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.322e-05/1.315, allocations: 15.98 kB / 0.6275 GB, free: 8.348 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/1.315, allocations: 0 / 0.6275 GB, free: 8.348 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/1.315, allocations: 159.1 kB / 0.6277 GB, free: 8.152 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/1.315, allocations: 0 / 0.6277 GB, free: 8.152 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/1.315, allocations: 7.891 kB / 0.6277 GB, free: 8.145 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.362e-05/1.315, allocations: 8 kB / 0.6277 GB, free: 8.137 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.941e-05/1.315, allocations: 29.69 kB / 0.6277 GB, free: 8.102 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.315, allocations: 0 / 0.6277 GB, free: 8.102 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/1.315, allocations: 0 / 0.6277 GB, free: 8.102 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.315, allocations: 0 / 0.6277 GB, free: 8.102 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/1.315, allocations: 130.2 kB / 0.6278 GB, free: 7.938 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.774e-05/1.315, allocations: 14.58 kB / 0.6278 GB, free: 7.914 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/1.315, allocations: 4.859 kB / 0.6278 GB, free: 7.906 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/1.315, allocations: 3.984 kB / 0.6279 GB, free: 7.902 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.087e-05/1.315, allocations: 72.19 kB / 0.6279 GB, free: 7.816 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/1.315, allocations: 0 / 0.6279 GB, free: 7.816 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002361/1.316, allocations: 41.69 kB / 0.628 GB, free: 7.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/1.316, allocations: 81.11 kB / 0.628 GB, free: 7.672 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.459e-05/1.316, allocations: 85 kB / 0.6281 GB, free: 7.582 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/1.316, allocations: 25.7 kB / 0.6281 GB, free: 7.551 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/1.316, allocations: 80.14 kB / 0.6282 GB, free: 7.469 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/1.316, allocations: 0 / 0.6282 GB, free: 7.469 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/1.316, allocations: 0 / 0.6282 GB, free: 7.469 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/1.316, allocations: 310.8 kB / 0.6285 GB, free: 7.156 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-06/1.316, allocations: 4.031 kB / 0.6285 GB, free: 7.152 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-06/1.316, allocations: 4 kB / 0.6285 GB, free: 7.148 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.127e-05/1.316, allocations: 0 / 0.6285 GB, free: 7.148 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/1.316, allocations: 0.8438 kB / 0.6285 GB, free: 7.148 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001045/1.316, allocations: 45.62 kB / 0.6286 GB, free: 7.094 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/1.316, allocations: 29.7 kB / 0.6286 GB, free: 7.059 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/1.316, allocations: 0 / 0.6286 GB, free: 7.059 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.316, allocations: 0 / 0.6286 GB, free: 7.059 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.999e-06/1.316, allocations: 3.953 kB / 0.6286 GB, free: 7.055 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/1.316, allocations: 96 / 0.6286 GB, free: 7.055 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/1.316, allocations: 8 kB / 0.6286 GB, free: 7.047 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/1.316, allocations: 0 / 0.6286 GB, free: 7.047 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: 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 0.00011/1.317, allocations: 130.6 kB / 0.6287 GB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001029/1.317, allocations: 41.69 kB / 0.6288 GB, free: 6.859 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/1.317, allocations: 0 / 0.6288 GB, free: 6.859 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/1.317, allocations: 11.66 kB / 0.6288 GB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/1.317, allocations: 0 / 0.6288 GB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.317, allocations: 4 kB / 0.6288 GB, free: 6.844 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/1.317, allocations: 4.031 kB / 0.6288 GB, free: 6.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/1.317, allocations: 134.2 kB / 0.6289 GB, free: 6.672 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.317, allocations: 0 / 0.6289 GB, free: 6.672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-06/1.317, allocations: 3.938 kB / 0.6289 GB, free: 6.668 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.317, allocations: 0 / 0.6289 GB, free: 6.668 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/1.317, allocations: 0 / 0.6289 GB, free: 6.668 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/1.317, allocations: 0 / 0.6289 GB, free: 6.668 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.317, allocations: 3.953 kB / 0.6289 GB, free: 6.664 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/1.317, allocations: 69.06 kB / 0.629 GB, free: 6.578 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/1.317, allocations: 77.11 kB / 0.6291 GB, free: 6.484 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/1.317, allocations: 0 / 0.6291 GB, free: 6.484 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.922e-05/1.317, allocations: 4 kB / 0.6291 GB, free: 6.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/1.317, allocations: 7.953 kB / 0.6291 GB, free: 6.473 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/1.317, allocations: 0 / 0.6291 GB, free: 6.473 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.588e-05/1.317, allocations: 75.28 kB / 0.6291 GB, free: 6.398 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/1.317, allocations: 0 / 0.6291 GB, free: 6.398 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007128/1.324, allocations: 1.308 MB / 0.6304 GB, free: 5.09 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.01463/1.339, allocations: 1.72 MB / 0.6321 GB, free: 3.344 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001973/1.339, allocations: 59.39 kB / 0.6322 GB, free: 3.273 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.339, allocations: 0 / 0.6322 GB, free: 3.273 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.739e-05/1.34, allocations: 59.34 kB / 0.6322 GB, free: 3.203 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/1.34, allocations: 0 / 0.6322 GB, free: 3.203 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/1.343, allocations: 153.6 kB / 0.6324 GB, free: 3.016 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/1.344, allocations: 0.6768 MB / 0.633 GB, free: 2.312 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.965e-06/1.344, allocations: 0 / 0.633 GB, free: 2.312 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/1.344, allocations: 7.438 kB / 0.633 GB, free: 2.305 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/1.344, allocations: 0 / 0.633 GB, free: 2.305 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5322/1.876, allocations: 69.17 MB / 0.7006 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/1.876, allocations: 162.7 kB / 0.7007 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.286/8.163, allocations: 0 / 0.7007 GB, free: 113.1 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestSpecial_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestSpecial.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial_res.mat does not exist to compare? outputFormat=mat