Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise",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.001467/0.001467, allocations: 175.4 kB / 8.047 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.3 MB / 213.8 MB, free: 13.7 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.001114/0.001113, allocations: 87.75 kB / 261.8 MB, free: 13.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1175/0.1175, allocations: 12.59 MB / 322.3 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.67e-05/2.681e-05, allocations: 4 kB / 379 MB, free: 75.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 50.38 MB / 429.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4774/0.5983, allocations: 77.27 MB / 0.4948 GB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.5987, allocations: 84.12 kB / 0.4949 GB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01278/0.6115, allocations: 2.91 MB / 0.4977 GB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6116, allocations: 0 / 0.4977 GB, free: 11.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.6116, allocations: 0 / 0.4977 GB, free: 11.29 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004622/0.6121, allocations: 363.8 kB / 0.4981 GB, free: 10.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.6121, allocations: 7.688 kB / 0.4981 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.6122, allocations: 15.5 kB / 0.4981 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.6125, allocations: 202.2 kB / 0.4983 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.6125, allocations: 0 / 0.4983 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.6125, allocations: 7.75 kB / 0.4983 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001086/0.6126, allocations: 21.3 kB / 0.4983 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.613, allocations: 142.5 kB / 0.4985 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.613, allocations: 0 / 0.4985 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.613, allocations: 1.031 kB / 0.4985 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.6131, allocations: 4 kB / 0.4985 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.6134, allocations: 246.2 kB / 0.4987 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.552e-05/0.6135, allocations: 37.05 kB / 0.4987 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.6136, allocations: 19.73 kB / 0.4987 GB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007173/0.6143, allocations: 0.583 MB / 0.4993 GB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.6144, allocations: 38.31 kB / 0.4994 GB, free: 9.645 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 3.216e-06/0.6144, allocations: 0 / 0.4994 GB, free: 9.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002923/0.6147, allocations: 66.45 kB / 0.4994 GB, free: 9.609 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.6147, allocations: 63.14 kB / 0.4995 GB, free: 9.539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.6149, allocations: 136 kB / 0.4996 GB, free: 9.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.615, allocations: 29.64 kB / 0.4996 GB, free: 9.406 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.615, allocations: 86.47 kB / 0.4997 GB, free: 9.324 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.615, allocations: 7.781 kB / 0.4997 GB, free: 9.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/0.6151, allocations: 0 / 0.4997 GB, free: 9.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.812e-05/0.6151, allocations: 324.5 kB / 0.5 GB, free: 9.004 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.213e-05/0.6152, allocations: 18.39 kB / 0.5001 GB, free: 9.004 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.746e-05/0.6153, allocations: 63.83 kB / 0.5001 GB, free: 8.941 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.579e-05/0.6154, allocations: 29.98 kB / 0.5001 GB, free: 8.941 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6154, allocations: 0 / 0.5001 GB, free: 8.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001965/0.6156, allocations: 100.1 kB / 0.5002 GB, free: 8.895 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.6156, allocations: 3.781 kB / 0.5002 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.6156, allocations: 3.844 kB / 0.5002 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.6157, allocations: 0 / 0.5002 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.6158, allocations: 18.33 kB / 0.5003 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.6158, allocations: 3.938 kB / 0.5003 GB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.884e-05/0.6159, allocations: 7.75 kB / 0.5003 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.6159, allocations: 6.406 kB / 0.5003 GB, free: 8.887 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[1],$CLKPRE.uniformNoise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001083/0.616, allocations: 114.5 kB / 0.5004 GB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001851/0.6162, allocations: 68.08 kB / 0.5005 GB, free: 8.738 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.6163, allocations: 7.594 kB / 0.5005 GB, free: 8.734 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.6165, allocations: 88.27 kB / 0.5005 GB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.6165, allocations: 0 / 0.5005 GB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6166, allocations: 0 / 0.5005 GB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.6166, allocations: 5.062 kB / 0.5006 GB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.6167, allocations: 159.7 kB / 0.5007 GB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.6167, allocations: 4 kB / 0.5007 GB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.479e-05/0.6168, allocations: 7.062 kB / 0.5007 GB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.6168, allocations: 3.75 kB / 0.5007 GB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.6168, allocations: 0 / 0.5007 GB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.6168, allocations: 0 / 0.5007 GB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.6168, allocations: 0 / 0.5007 GB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.617, allocations: 104.6 kB / 0.5008 GB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.6171, allocations: 90.97 kB / 0.5009 GB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.6172, allocations: 10.75 kB / 0.5009 GB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.673e-05/0.6172, allocations: 7.938 kB / 0.5009 GB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.6172, allocations: 0 / 0.5009 GB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.6173, allocations: 0 / 0.5009 GB, free: 8.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.903e-05/0.6173, allocations: 106.4 kB / 0.501 GB, free: 8.266 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6174, allocations: 0 / 0.501 GB, free: 8.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003408/0.6177, allocations: 15.47 kB / 0.501 GB, free: 8.266 MB / 330.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: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * 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.0005991/0.6183, allocations: 0.6736 MB / 0.5017 GB, free: 7.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.6185, allocations: 49.16 kB / 0.5017 GB, free: 7.652 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6185, allocations: 0 / 0.5017 GB, free: 7.652 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.6185, allocations: 0 / 0.5017 GB, free: 7.652 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.6191, allocations: 74.28 kB / 0.5018 GB, free: 7.617 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/0.6197, allocations: 170 kB / 0.502 GB, free: 7.488 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.6199, allocations: 0.7078 MB / 0.5027 GB, free: 6.789 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.75e-05/0.62, allocations: 10.67 kB / 0.5027 GB, free: 6.785 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.62, allocations: 18 kB / 0.5027 GB, free: 6.777 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.62, allocations: 3.656 kB / 0.5027 GB, free: 6.777 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03537/0.6554, allocations: 1.87 MB / 0.5045 GB, free: 6.633 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/0.6557, allocations: 166.7 kB / 0.5047 GB, free: 6.441 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/3.058, allocations: 4 kB / 0.5047 GB, free: 6.438 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_res.mat does not exist to compare? outputFormat=mat