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.001297/0.001297, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001379/0.001379, allocations: 181.8 kB / 23.72 MB, free: 4.699 MB / 14.72 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 1.692/1.692, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001757/0.001757, allocations: 51.92 kB / 370.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2985, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002256/0.3007, allocations: 0.908 MB / 423.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006225/0.3014, allocations: 251.1 kB / 423.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/0.3014, allocations: 4 kB / 423.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.328e-05/0.3015, allocations: 3.938 kB / 423.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.3016, allocations: 15.84 kB / 423.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.302, allocations: 99.55 kB / 423.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.3022, allocations: 47.84 kB / 424 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.093e-05/0.3022, allocations: 19.97 kB / 424 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.7e-05/0.3023, allocations: 15.94 kB / 424 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.751e-05/0.3023, allocations: 27.8 kB / 424 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.3024, allocations: 7.938 kB / 424 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.905e-05/0.3025, allocations: 39.95 kB / 424.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.3025, allocations: 19.92 kB / 424.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.3026, allocations: 27.8 kB / 424.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.3028, allocations: 95.06 kB / 424.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3028, allocations: 7.938 kB / 424.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3028, allocations: 0 / 424.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.3028, allocations: 0 / 424.2 MB, free: 13.02 MB / 334.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.0004948/0.3033, allocations: 310.9 kB / 424.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3033, allocations: 8.031 kB / 424.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.114e-05/0.3033, allocations: 42.67 kB / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.3034, allocations: 12.84 kB / 424.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.3036, allocations: 142.3 kB / 424.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.3036, allocations: 4.375 kB / 424.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.3036, allocations: 8.375 kB / 424.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.3039, allocations: 149.5 kB / 424.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3039, allocations: 3.938 kB / 424.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.304, allocations: 4 kB / 424.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.304, allocations: 7.984 kB / 424.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.61e-05/0.304, allocations: 16 kB / 424.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.3043, allocations: 244.8 kB / 425.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.496e-05/0.3044, allocations: 34.58 kB / 425.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.4e-05/0.3044, allocations: 28.89 kB / 425.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003988/0.3048, allocations: 51.94 kB / 425.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.3049, allocations: 38.56 kB / 425.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3049, allocations: 0 / 425.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002233/0.3051, allocations: 93.52 kB / 425.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.3052, allocations: 55.41 kB / 425.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.3053, allocations: 155.6 kB / 425.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3053, allocations: 25.7 kB / 425.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.3054, allocations: 84.14 kB / 425.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.3054, allocations: 15.89 kB / 425.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.3054, allocations: 25.7 kB / 425.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3056, allocations: 318.8 kB / 426.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.72e-05/0.3056, allocations: 23.98 kB / 426.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.3057, allocations: 73.86 kB / 426.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.651e-05/0.3058, allocations: 77.94 kB / 426.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3058, allocations: 0 / 426.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001622/0.3059, allocations: 117.5 kB / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3059, allocations: 4 kB / 426.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.306, allocations: 4.219 kB / 426.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.306, allocations: 4 kB / 426.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.114e-05/0.3061, allocations: 19.98 kB / 426.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.3061, allocations: 0 / 426.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.3061, allocations: 7.953 kB / 426.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3061, allocations: 7.938 kB / 426.4 MB, free: 10.59 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.0001157/0.3062, allocations: 141.6 kB / 426.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.3063, allocations: 69.7 kB / 426.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.3065, allocations: 86.33 kB / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3065, allocations: 4 kB / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3065, allocations: 0 / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3065, allocations: 0 / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.3066, allocations: 148.7 kB / 426.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.3066, allocations: 4 kB / 426.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/0.3067, allocations: 7.938 kB / 426.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3067, allocations: 0 / 426.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3067, allocations: 11.98 kB / 426.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3067, allocations: 0 / 426.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3067, allocations: 0 / 426.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.3068, allocations: 101.2 kB / 427 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.3069, allocations: 23.89 kB / 427 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.3069, allocations: 4 kB / 427 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.333e-05/0.3069, allocations: 0 / 427 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-06/0.3069, allocations: 3.984 kB / 427 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3069, allocations: 4 kB / 427 MB, free: 9.906 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.969e-05/0.307, allocations: 120.8 kB / 427.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.307, allocations: 0 / 427.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.3072, allocations: 24 kB / 427.1 MB, free: 9.766 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.0005377/0.3078, allocations: 0.6634 MB / 427.8 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.3079, allocations: 55.91 kB / 427.8 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3079, allocations: 448 / 427.8 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.3079, allocations: 7.938 kB / 427.9 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.3083, allocations: 77.64 kB / 427.9 MB, free: 8.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.3097, allocations: 1.463 MB / 429.4 MB, free: 7.348 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.31, allocations: 0.7078 MB / 430.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.33e-05/0.3101, allocations: 9.047 kB / 430.1 MB, free: 6.602 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.3101, allocations: 23.42 kB / 430.1 MB, free: 6.578 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3101, allocations: 0 / 430.1 MB, free: 6.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/0.3396, allocations: 2.75 MB / 432.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.19, allocations: 4 kB / 432.9 MB, free: 3.957 MB / 334.1 MB " [Timeout remaining time 649] (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/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_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: 13.960383628000272]