Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.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) 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(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001257/0.001257, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009824/0.0009825, allocations: 100.8 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.678e-05/2.681e-05, allocations: 4 kB / 343.8 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09422/0.09427, allocations: 51.48 MB / 395.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3278/0.4221, allocations: 76.97 MB / 472.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/0.4225, allocations: 79.69 kB / 472.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005557/0.4281, allocations: 1.711 MB / 474 MB, free: 13.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4281, allocations: 0 / 474 MB, free: 13.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.4281, allocations: 0 / 474 MB, free: 13.07 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003916/0.4285, allocations: 365.8 kB / 474.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.4286, allocations: 8.031 kB / 474.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.4286, allocations: 13.48 kB / 474.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.4289, allocations: 184.8 kB / 474.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.429, allocations: 0.8594 kB / 474.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.429, allocations: 4 kB / 474.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001158/0.4291, allocations: 24.31 kB / 474.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.4294, allocations: 142.9 kB / 474.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4294, allocations: 4 kB / 474.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.4294, allocations: 0 / 474.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.4295, allocations: 0 / 474.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.4298, allocations: 248.8 kB / 475 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.4299, allocations: 51.58 kB / 475.1 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.43, allocations: 28.7 kB / 475.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.43, allocations: 0.7969 kB / 475.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.43, allocations: 33.94 kB / 475.1 MB, free: 11.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.43, allocations: 0 / 475.1 MB, free: 11.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.000191/0.4302, allocations: 64.2 kB / 475.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.4303, allocations: 60 kB / 475.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.4304, allocations: 122.6 kB / 475.4 MB, free: 11.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.4304, allocations: 25.7 kB / 475.4 MB, free: 11.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.4305, allocations: 93.02 kB / 475.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.4305, allocations: 9.406 kB / 475.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.4305, allocations: 0 / 475.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.4306, allocations: 315.7 kB / 475.8 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.4306, allocations: 13.33 kB / 475.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.4307, allocations: 45.34 kB / 475.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.686e-05/0.4307, allocations: 24.02 kB / 475.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4308, allocations: 0 / 475.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001422/0.4309, allocations: 88.45 kB / 476 MB, free: 11.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4309, allocations: 8.125 kB / 476 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4309, allocations: 4.703 kB / 476 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.431, allocations: 4 kB / 476 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.4311, allocations: 17.59 kB / 476 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4311, allocations: 0 / 476 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.808e-05/0.4311, allocations: 12.45 kB / 476 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.4311, allocations: 4 kB / 476 MB, free: 11.06 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (uniformNoiseXorshift64star.state64[2],$CLKPRE.uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.state64[1],$CLKPRE.uniformNoiseXorshift64star.state64[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.643e-05/0.4312, allocations: 105.7 kB / 476.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.188e-05/0.4313, allocations: 63.94 kB / 476.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.4313, allocations: 8.656 kB / 476.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.4315, allocations: 82.97 kB / 476.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4315, allocations: 0 / 476.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4315, allocations: 0 / 476.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4315, allocations: 0.8438 kB / 476.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.209e-05/0.4316, allocations: 151.8 kB / 476.4 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.4316, allocations: 0.75 kB / 476.4 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.4317, allocations: 8.609 kB / 476.4 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4317, allocations: 0 / 476.4 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.4317, allocations: 0.7031 kB / 476.4 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4317, allocations: 6.938 kB / 476.4 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4317, allocations: 4 kB / 476.4 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.4318, allocations: 84.77 kB / 476.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.4319, allocations: 97.48 kB / 476.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.4319, allocations: 4.609 kB / 476.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.947e-05/0.432, allocations: 0.75 kB / 476.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-06/0.432, allocations: 3.938 kB / 476.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.432, allocations: 4 kB / 476.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.768e-05/0.4321, allocations: 110 kB / 476.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4321, allocations: 3.938 kB / 476.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003436/0.4324, allocations: 12 kB / 476.7 MB, free: 10.32 MB / 346.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 (uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005229/0.433, allocations: 0.6711 MB / 477.4 MB, free: 9.656 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.4331, allocations: 40.27 kB / 477.5 MB, free: 9.629 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4331, allocations: 0 / 477.5 MB, free: 9.629 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.4331, allocations: 0 / 477.5 MB, free: 9.629 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.4334, allocations: 65.27 kB / 477.5 MB, free: 9.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.4338, allocations: 150 kB / 477.7 MB, free: 9.418 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.434, allocations: 0.7056 MB / 478.4 MB, free: 8.699 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.918e-05/0.434, allocations: 12.38 kB / 478.4 MB, free: 8.691 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.4341, allocations: 24.5 kB / 478.4 MB, free: 8.68 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4341, allocations: 0 / 478.4 MB, free: 8.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.4548, allocations: 1.551 MB / 480 MB, free: 7.801 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001499/0.455, allocations: 200 kB / 480.2 MB, free: 7.543 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/1.917, allocations: 0 / 480.2 MB, free: 7.543 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat does not exist to compare? outputFormat=mat