Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.Random.TestSpecial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 183 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009172/0.0009173, allocations: 94.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2299/0.2299, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003266, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.132, allocations: 58.86 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4394/0.5715, allocations: 86.57 MB / 0.5634 GB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.5718, allocations: 63.88 kB / 0.5635 GB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.704/1.276, allocations: 48.66 MB / 0.611 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.617e-06/1.276, allocations: 0 / 0.611 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/1.276, allocations: 0 / 0.611 GB, free: 0.5625 MB / 410.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.002443/1.278, allocations: 447.8 kB / 0.6114 GB, free: 80 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/1.278, allocations: 8.031 kB / 0.6114 GB, free: 72 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.39e-05/1.278, allocations: 34.55 kB / 0.6114 GB, free: 28 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/1.279, allocations: 0 / 0.6114 GB, free: 28 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/1.279, allocations: 167 kB / 0.6116 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/1.279, allocations: 3.938 kB / 0.6116 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/1.279, allocations: 4 kB / 0.6116 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/1.279, allocations: 29.7 kB / 0.6116 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/1.279, allocations: 0 / 0.6116 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/1.279, allocations: 3.938 kB / 0.6116 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.279, allocations: 4 kB / 0.6116 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.798e-05/1.279, allocations: 10.67 kB / 0.6117 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/1.279, allocations: 228.2 kB / 0.6119 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.18e-05/1.279, allocations: 31.06 kB / 0.6119 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/1.279, allocations: 0 / 0.6119 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.991e-05/1.279, allocations: 59.52 kB / 0.612 GB, free: 15.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/1.279, allocations: 0 / 0.612 GB, free: 15.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002384/1.28, allocations: 70.83 kB / 0.612 GB, free: 15.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/1.28, allocations: 77.11 kB / 0.6121 GB, free: 15.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.488e-05/1.28, allocations: 85 kB / 0.6122 GB, free: 15.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/1.28, allocations: 33.83 kB / 0.6122 GB, free: 15.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/1.28, allocations: 88.02 kB / 0.6123 GB, free: 15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/1.28, allocations: 8.516 kB / 0.6123 GB, free: 14.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/1.28, allocations: 0 / 0.6123 GB, free: 14.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/1.28, allocations: 314.8 kB / 0.6126 GB, free: 14.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/1.28, allocations: 7.188 kB / 0.6126 GB, free: 14.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.836e-06/1.28, allocations: 0 / 0.6126 GB, free: 14.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.04e-05/1.28, allocations: 29.7 kB / 0.6126 GB, free: 14.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.28, allocations: 0 / 0.6126 GB, free: 14.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001059/1.28, allocations: 70.89 kB / 0.6127 GB, free: 14.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/1.28, allocations: 33.7 kB / 0.6127 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.28, allocations: 0 / 0.6127 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/1.28, allocations: 0 / 0.6127 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.062e-05/1.28, allocations: 0 / 0.6127 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/1.28, allocations: 0 / 0.6127 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/1.28, allocations: 0 / 0.6127 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/1.28, allocations: 3.984 kB / 0.6127 GB, free: 14.51 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: 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 0.0001137/1.281, allocations: 154.9 kB / 0.6129 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/1.281, allocations: 4.031 kB / 0.6129 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.733e-05/1.281, allocations: 3.125 kB / 0.6129 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.281, allocations: 4 kB / 0.6129 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.281, allocations: 0 / 0.6129 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/1.281, allocations: 0 / 0.6129 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/1.281, allocations: 292.1 kB / 0.6132 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.281, allocations: 3.984 kB / 0.6132 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-06/1.281, allocations: 0 / 0.6132 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.281, allocations: 4 kB / 0.6132 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/1.281, allocations: 4.031 kB / 0.6132 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/1.281, allocations: 0 / 0.6132 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.281, allocations: 0 / 0.6132 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/1.281, allocations: 177 kB / 0.6134 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/1.281, allocations: 81.05 kB / 0.6134 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/1.281, allocations: 0 / 0.6134 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.754e-05/1.281, allocations: 0 / 0.6134 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/1.281, allocations: 4.031 kB / 0.6134 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/1.281, allocations: 4 kB / 0.6134 GB, free: 13.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.232e-05/1.281, allocations: 75.28 kB / 0.6135 GB, free: 13.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.281, allocations: 3.938 kB / 0.6135 GB, free: 13.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004749/1.286, allocations: 1.311 MB / 0.6148 GB, free: 12.3 MB / 426.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.008877/1.295, allocations: 1.818 MB / 0.6166 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/1.295, allocations: 55.41 kB / 0.6166 GB, free: 10.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.295, allocations: 8.062 kB / 0.6166 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.693e-05/1.295, allocations: 58.72 kB / 0.6167 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/1.295, allocations: 0 / 0.6167 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/1.298, allocations: 383.5 kB / 0.6171 GB, free: 9.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/1.298, allocations: 0.6731 MB / 0.6177 GB, free: 9.211 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.287e-05/1.298, allocations: 4.094 kB / 0.6177 GB, free: 9.207 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/1.298, allocations: 7.438 kB / 0.6177 GB, free: 9.199 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/1.298, allocations: 0 / 0.6177 GB, free: 9.199 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1342/1.432, allocations: 68.92 MB / 0.685 GB, free: 4.219 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002884/1.432, allocations: 206.3 kB / 0.6852 GB, free: 3.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.176/7.608, allocations: 0 / 0.6852 GB, free: 3.98 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestSpecial.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestSpecial_res.mat does not exist to compare? outputFormat=mat