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.001253/0.001254, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001277, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 63.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3623, allocations: 50.54 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002811/0.3652, allocations: 0.8849 MB / 409.6 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000781/0.366, allocations: 243.1 kB / 409.9 MB, free: 444 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.3662, allocations: 8 kB / 409.9 MB, free: 436 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.235e-05/0.3663, allocations: 7.922 kB / 409.9 MB, free: 428 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.3665, allocations: 15.88 kB / 409.9 MB, free: 412 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.3671, allocations: 95.39 kB / 410 MB, free: 320 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3672, allocations: 43.86 kB / 410.1 MB, free: 276 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3674, allocations: 19.98 kB / 410.1 MB, free: 256 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.078e-05/0.3674, allocations: 23.86 kB / 410.1 MB, free: 232 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.922e-05/0.3675, allocations: 23.86 kB / 410.1 MB, free: 208 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.3675, allocations: 0 / 410.1 MB, free: 208 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.3677, allocations: 43.95 kB / 410.2 MB, free: 164 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.366e-05/0.3677, allocations: 23.92 kB / 410.2 MB, free: 140 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.3678, allocations: 27.8 kB / 410.2 MB, free: 112 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.368, allocations: 86.64 kB / 410.3 MB, free: 28 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.368, allocations: 0 / 410.3 MB, free: 28 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.368, allocations: 3.938 kB / 410.3 MB, free: 24 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.368, allocations: 4 kB / 410.3 MB, free: 20 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.000622/0.3687, allocations: 391 kB / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3687, allocations: 15.97 kB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.429e-05/0.3688, allocations: 38.69 kB / 410.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.3688, allocations: 8.891 kB / 410.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.3692, allocations: 204.1 kB / 410.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.3692, allocations: 4.375 kB / 410.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.3692, allocations: 384 / 410.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.3696, allocations: 153.5 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3696, allocations: 3.938 kB / 411.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3696, allocations: 4 kB / 411.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3696, allocations: 0 / 411.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.539e-05/0.3697, allocations: 19.98 kB / 411.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.3701, allocations: 281.6 kB / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.902e-05/0.3702, allocations: 38.58 kB / 411.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.3702, allocations: 28.89 kB / 411.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007379/0.371, allocations: 0.5817 MB / 412 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.371, allocations: 34.56 kB / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.371, allocations: 0 / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002435/0.3713, allocations: 89.61 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.3713, allocations: 55.41 kB / 412.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.3715, allocations: 154.5 kB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3715, allocations: 25.7 kB / 412.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.3716, allocations: 96.12 kB / 412.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.3716, allocations: 11.89 kB / 412.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.3717, allocations: 21.72 kB / 412.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3718, allocations: 326.8 kB / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.3719, allocations: 15.98 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.3719, allocations: 69.94 kB / 412.9 MB, free: 13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.372, allocations: 77.94 kB / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.372, allocations: 0 / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001618/0.3722, allocations: 113.4 kB / 413.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3722, allocations: 8.188 kB / 413.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3723, allocations: 0 / 413.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.3723, allocations: 7.938 kB / 413.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.3724, allocations: 16 kB / 413.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3724, allocations: 4.219 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.33e-05/0.3724, allocations: 15.94 kB / 413.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.3725, allocations: 11.94 kB / 413.2 MB, free: 12.72 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.0001151/0.3726, allocations: 129.7 kB / 413.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.3727, allocations: 81.69 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.3729, allocations: 82.33 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3729, allocations: 0 / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3729, allocations: 0 / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3729, allocations: 0 / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.3731, allocations: 185.5 kB / 413.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3731, allocations: 0 / 413.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.3731, allocations: 4 kB / 413.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3732, allocations: 7.938 kB / 413.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.3732, allocations: 0 / 413.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3732, allocations: 240 / 413.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3732, allocations: 0 / 413.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.3733, allocations: 105 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.229e-05/0.3734, allocations: 97.05 kB / 413.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.3734, allocations: 4 kB / 413.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.578e-05/0.3735, allocations: 4 kB / 413.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-06/0.3735, allocations: 0 / 413.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.3735, allocations: 7.938 kB / 413.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.544e-05/0.3736, allocations: 115.2 kB / 414 MB, free: 11.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3736, allocations: 0 / 414 MB, free: 11.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.3739, allocations: 20 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.0005747/0.3745, allocations: 0.671 MB / 414.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.3746, allocations: 55.95 kB / 414.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3746, allocations: 3.938 kB / 414.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.3746, allocations: 0 / 414.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.375, allocations: 88.41 kB / 414.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.3765, allocations: 1.459 MB / 416.3 MB, free: 9.359 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.3768, allocations: 0.7002 MB / 417 MB, free: 8.633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.477e-05/0.3769, allocations: 8.656 kB / 417 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.377, allocations: 19.44 kB / 417 MB, free: 8.602 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.377, allocations: 0 / 417 MB, free: 8.602 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.3991, allocations: 2.596 MB / 419.6 MB, free: 6.113 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/8.158, allocations: 1.875 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