Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001476/0.001476, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001776/0.001776, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.625/1.625, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3517, allocations: 50.53 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.003631/0.3554, allocations: 0.881 MB / 409.6 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008869/0.3564, allocations: 247.1 kB / 409.9 MB, free: 448 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.3565, allocations: 4 kB / 409.9 MB, free: 444 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.522e-05/0.3566, allocations: 7.922 kB / 409.9 MB, free: 436 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.3568, allocations: 15.88 kB / 409.9 MB, free: 420 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005773/0.3574, allocations: 95.77 kB / 410 MB, free: 324 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.3576, allocations: 43.86 kB / 410 MB, free: 280 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3577, allocations: 23.98 kB / 410.1 MB, free: 256 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.872e-05/0.3577, allocations: 15.92 kB / 410.1 MB, free: 240 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.427e-05/0.3578, allocations: 27.8 kB / 410.1 MB, free: 212 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3579, allocations: 0 / 410.1 MB, free: 212 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.358, allocations: 43.95 kB / 410.2 MB, free: 168 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.365e-05/0.3581, allocations: 19.92 kB / 410.2 MB, free: 148 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.3581, allocations: 27.81 kB / 410.2 MB, free: 120 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.3584, allocations: 94.61 kB / 410.3 MB, free: 28 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3584, allocations: 3.938 kB / 410.3 MB, free: 24 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3584, allocations: 4 kB / 410.3 MB, free: 20 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.3584, allocations: 3.938 kB / 410.3 MB, free: 16 kB / 318.1 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.0006346/0.3591, allocations: 387.1 kB / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3591, allocations: 8.031 kB / 410.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.491e-05/0.3592, allocations: 42.73 kB / 410.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.3592, allocations: 8.891 kB / 410.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.3596, allocations: 204.1 kB / 410.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3596, allocations: 8.375 kB / 410.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.3596, allocations: 384 / 410.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.36, allocations: 153.5 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.36, allocations: 3.938 kB / 411.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.36, allocations: 0 / 411.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.36, allocations: 0 / 411.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.312e-05/0.3601, allocations: 27.98 kB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.3605, allocations: 273.6 kB / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.3606, allocations: 42.56 kB / 411.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.3607, allocations: 28.89 kB / 411.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000794/0.3615, allocations: 0.5778 MB / 412 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.3615, allocations: 34.55 kB / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.3615, allocations: 0 / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002601/0.3618, allocations: 89.64 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.3619, allocations: 55.41 kB / 412.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.362, allocations: 161.3 kB / 412.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.362, allocations: 25.7 kB / 412.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.3621, allocations: 88.14 kB / 412.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.3621, allocations: 15.88 kB / 412.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.3622, allocations: 21.72 kB / 412.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3623, allocations: 326.8 kB / 412.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.876e-05/0.3624, allocations: 15.98 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.747e-05/0.3624, allocations: 69.94 kB / 412.9 MB, free: 13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.909e-05/0.3625, allocations: 77.94 kB / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3625, allocations: 192 / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001818/0.3627, allocations: 109.5 kB / 413.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.3628, allocations: 15.88 kB / 413.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.3628, allocations: 0 / 413.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.3628, allocations: 8.219 kB / 413.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.3629, allocations: 12 kB / 413.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.3629, allocations: 4 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.363, allocations: 7.953 kB / 413.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.363, allocations: 7.938 kB / 413.2 MB, free: 12.73 MB / 334.1 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 ($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 (10): * Single equations (assignments): 10 * 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 0.0001349/0.3631, allocations: 133.7 kB / 413.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.3633, allocations: 73.64 kB / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.3635, allocations: 82.61 kB / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3635, allocations: 11.92 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3635, allocations: 0 / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3635, allocations: 0 / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.3636, allocations: 177.5 kB / 413.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.3637, allocations: 3.984 kB / 413.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.3637, allocations: 11.94 kB / 413.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3637, allocations: 0 / 413.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3637, allocations: 4 kB / 413.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3637, allocations: 0 / 413.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3638, allocations: 0 / 413.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.3639, allocations: 105 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.605e-05/0.364, allocations: 97.03 kB / 413.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.364, allocations: 4 kB / 413.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.34e-05/0.3641, allocations: 0 / 413.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-06/0.3641, allocations: 0 / 413.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.3641, allocations: 8.188 kB / 413.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.026e-05/0.3642, allocations: 115.2 kB / 414 MB, free: 11.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.545e-06/0.3642, allocations: 0 / 414 MB, free: 11.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.3645, allocations: 23.94 kB / 414 MB, free: 11.79 MB / 334.1 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.0006463/0.3651, allocations: 0.671 MB / 414.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.3653, allocations: 51.91 kB / 414.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3653, allocations: 4.438 kB / 414.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-07/0.3653, allocations: 7.938 kB / 414.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.3658, allocations: 91.59 kB / 414.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.3674, allocations: 1.451 MB / 416.3 MB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.3677, allocations: 0.7041 MB / 417 MB, free: 8.633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.819e-05/0.3678, allocations: 8.656 kB / 417 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.3678, allocations: 23.44 kB / 417 MB, free: 8.598 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3678, allocations: 0 / 417 MB, free: 8.598 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.3889, allocations: 2.587 MB / 419.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.433, allocations: 7.984 kB / 419.6 MB, free: 6.113 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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.00044 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sample1.y,uniformNoise.y Variables in the result:time,sample1.y,uniformNoise.u,uniformNoise.y,const.k,const.y