Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008658/0.0008658, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9015/0.9015, allocations: 173.4 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.806e-05, allocations: 2.281 kB / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001476/0.001494, allocations: 0.8716 MB / 319.3 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000426/0.00192, allocations: 243 kB / 319.6 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.278e-05/0.001993, allocations: 7.938 kB / 319.6 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.092e-05/0.002034, allocations: 3.938 kB / 319.6 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.002179, allocations: 19.86 kB / 319.6 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.002524, allocations: 111.6 kB / 319.7 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.002633, allocations: 43.84 kB / 319.7 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.335e-05/0.002717, allocations: 15.97 kB / 319.8 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.666e-05/0.002763, allocations: 23.92 kB / 319.8 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.012e-05/0.002824, allocations: 15.97 kB / 319.8 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.002842, allocations: 4 kB / 319.8 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.31e-05/0.002915, allocations: 43.95 kB / 319.8 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.713e-05/0.002972, allocations: 19.92 kB / 319.9 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.002998, allocations: 15.94 kB / 319.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.003147, allocations: 103.5 kB / 320 MB, free: 4.809 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.113e-06/0.00315, allocations: 0 / 320 MB, free: 4.809 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003151, allocations: 8 kB / 320 MB, free: 4.801 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.003155, allocations: 0 / 320 MB, free: 4.801 MB / 282.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.0003861/0.003541, allocations: 309.2 kB / 320.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.003576, allocations: 12.92 kB / 320.3 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.009e-05/0.003606, allocations: 30.75 kB / 320.3 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.003632, allocations: 16.78 kB / 320.3 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.003802, allocations: 141.6 kB / 320.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.003812, allocations: 8.375 kB / 320.5 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.003821, allocations: 4.375 kB / 320.5 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.00404, allocations: 149.5 kB / 320.6 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.004048, allocations: 192 / 320.6 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.004055, allocations: 384 / 320.6 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.00406, allocations: 8.125 kB / 320.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.712e-05/0.004098, allocations: 27.92 kB / 320.7 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.004319, allocations: 236.8 kB / 320.9 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.066e-05/0.00439, allocations: 38.5 kB / 320.9 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/0.004418, allocations: 28.89 kB / 321 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/0.004679, allocations: 59.88 kB / 321 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.004699, allocations: 34.56 kB / 321.1 MB, free: 3.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.0047, allocations: 0 / 321.1 MB, free: 3.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001589/0.004859, allocations: 85.64 kB / 321.2 MB, free: 3.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.004896, allocations: 63.34 kB / 321.2 MB, free: 3.406 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.848e-05/0.004985, allocations: 149 kB / 321.4 MB, free: 3.254 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.004996, allocations: 33.58 kB / 321.4 MB, free: 3.215 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.00503, allocations: 92.12 kB / 321.5 MB, free: 3.121 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.005043, allocations: 7.953 kB / 321.5 MB, free: 3.113 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.005069, allocations: 21.72 kB / 321.5 MB, free: 3.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.005151, allocations: 318.8 kB / 321.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.005172, allocations: 19.98 kB / 321.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.62e-05/0.005198, allocations: 34.56 kB / 321.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/0.005241, allocations: 50.5 kB / 321.9 MB, free: 2.645 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005243, allocations: 0 / 321.9 MB, free: 2.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.663e-05/0.00532, allocations: 81.58 kB / 322 MB, free: 2.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.005332, allocations: 7.984 kB / 322 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.005338, allocations: 4 kB / 322 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.005348, allocations: 0 / 322 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.138e-05/0.0054, allocations: 8 kB / 322 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.005405, allocations: 0 / 322 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.838e-05/0.005423, allocations: 4.094 kB / 322 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.005428, allocations: 4.234 kB / 322 MB, free: 2.531 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.008e-05/0.005508, allocations: 133.8 kB / 322.2 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.005574, allocations: 77.52 kB / 322.2 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.005686, allocations: 86.52 kB / 322.3 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.005689, allocations: 3.938 kB / 322.3 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.005693, allocations: 0 / 322.3 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.005696, allocations: 0 / 322.3 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.064e-05/0.005767, allocations: 148.8 kB / 322.5 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.005771, allocations: 0 / 322.5 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.0058, allocations: 4 kB / 322.5 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.005802, allocations: 4.141 kB / 322.5 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.005809, allocations: 3.984 kB / 322.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.00581, allocations: 4 kB / 322.5 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.005811, allocations: 3.984 kB / 322.5 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.219e-05/0.005894, allocations: 101 kB / 322.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.005929, allocations: 19.94 kB / 322.6 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.005944, allocations: 0 / 322.6 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.224e-05/0.005957, allocations: 0 / 322.6 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-06/0.00596, allocations: 7.984 kB / 322.6 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.005969, allocations: 0 / 322.6 MB, free: 1.859 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003473/0.006316, allocations: 122.2 kB / 322.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006316, allocations: 0 / 322.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001534/0.00647, allocations: 16 kB / 322.8 MB, free: 1.727 MB / 282.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 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003693/0.006839, allocations: 0.6786 MB / 323.4 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.028e-05/0.006929, allocations: 39.97 kB / 323.5 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.006931, allocations: 0 / 323.5 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.006931, allocations: 0 / 323.5 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.007211, allocations: 73.83 kB / 323.5 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008318/0.008042, allocations: 1.395 MB / 324.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.495e-05/0.008097, allocations: 95.27 kB / 325 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.793e-05/0.008115, allocations: 7.984 kB / 325 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.008149, allocations: 20.5 kB / 325.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008149, allocations: 0 / 325.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.02455, allocations: 3.311 MB / 328.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.865/6.889, allocations: 7.578 kB / 328.4 MB, free: 12.08 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000215433 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,uniformNoise.y Variables in the result:time,sample1.y,uniformNoise.u,uniformNoise.y,const.k,const.y [Calling sys.exit(0), Time elapsed: 8.723232458345592]