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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 111.1 kB / 20.44 MB, free: 1.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001468, allocations: 216.4 kB / 23.73 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 63.89 kB / 377.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2974, allocations: 53.4 MB / 431.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.00266/0.3001, allocations: 0.8894 MB / 432 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006862/0.3008, allocations: 247 kB / 432.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.62e-05/0.3009, allocations: 4 kB / 432.3 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.819e-05/0.3009, allocations: 7.938 kB / 432.3 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.301, allocations: 19.86 kB / 432.3 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.3015, allocations: 94.72 kB / 432.4 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.3016, allocations: 43.91 kB / 432.4 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.429e-05/0.3017, allocations: 12 kB / 432.4 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.932e-05/0.3018, allocations: 23.86 kB / 432.5 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.3018, allocations: 23.84 kB / 432.5 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.3019, allocations: 4 kB / 432.5 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.302, allocations: 39.97 kB / 432.5 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.302, allocations: 19.92 kB / 432.6 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.3021, allocations: 27.8 kB / 432.6 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.3022, allocations: 97.3 kB / 432.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3023, allocations: 0 / 432.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3023, allocations: 0 / 432.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.3023, allocations: 3.938 kB / 432.7 MB, free: 4.945 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.00053/0.3028, allocations: 313.9 kB / 433 MB, free: 4.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3028, allocations: 11.98 kB / 433 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.3029, allocations: 38.75 kB / 433 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.3029, allocations: 12.89 kB / 433 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.3032, allocations: 145 kB / 433.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.3032, allocations: 4.375 kB / 433.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.3032, allocations: 4.375 kB / 433.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.3035, allocations: 153.5 kB / 433.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3036, allocations: 7.875 kB / 433.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.3036, allocations: 4 kB / 433.4 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3036, allocations: 4 kB / 433.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.546e-05/0.3036, allocations: 15.98 kB / 433.4 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.3039, allocations: 244.7 kB / 433.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.626e-05/0.304, allocations: 38.56 kB / 433.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.3041, allocations: 20.86 kB / 433.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000416/0.3045, allocations: 63.97 kB / 433.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.3045, allocations: 30.56 kB / 433.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3045, allocations: 0 / 433.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002062/0.3047, allocations: 89.64 kB / 433.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.3048, allocations: 59.41 kB / 433.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.3049, allocations: 153.1 kB / 434.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.305, allocations: 25.7 kB / 434.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.305, allocations: 88.14 kB / 434.2 MB, free: 3.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.305, allocations: 11.94 kB / 434.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.3051, allocations: 21.72 kB / 434.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3052, allocations: 330.8 kB / 434.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.247e-05/0.3052, allocations: 19.98 kB / 434.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.269e-05/0.3053, allocations: 69.94 kB / 434.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.57e-05/0.3054, allocations: 73.94 kB / 434.7 MB, free: 2.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3054, allocations: 4.188 kB / 434.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001785/0.3056, allocations: 109.5 kB / 434.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3056, allocations: 11.94 kB / 434.8 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3056, allocations: 7.875 kB / 434.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3056, allocations: 4 kB / 434.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.389e-05/0.3057, allocations: 12 kB / 434.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.3057, allocations: 4 kB / 434.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.129e-05/0.3057, allocations: 12.17 kB / 434.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3058, allocations: 15.92 kB / 434.9 MB, free: 2.508 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.0001146/0.3059, allocations: 128.8 kB / 435 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.306, allocations: 69.64 kB / 435.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.3062, allocations: 90.59 kB / 435.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.3062, allocations: 0 / 435.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.3062, allocations: 3.938 kB / 435.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3062, allocations: 4 kB / 435.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.3063, allocations: 144.6 kB / 435.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3063, allocations: 4 kB / 435.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.287e-05/0.3063, allocations: 8 kB / 435.3 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3063, allocations: 0 / 435.3 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3063, allocations: 0 / 435.3 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3063, allocations: 0 / 435.3 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3063, allocations: 0 / 435.3 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.3065, allocations: 109 kB / 435.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.3065, allocations: 23.88 kB / 435.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.3066, allocations: 4 kB / 435.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.212e-05/0.3066, allocations: 0 / 435.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-06/0.3066, allocations: 0 / 435.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.3066, allocations: 4 kB / 435.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.401e-05/0.3067, allocations: 119.2 kB / 435.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3067, allocations: 4 kB / 435.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002112/0.3069, allocations: 16 kB / 435.6 MB, free: 1.707 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.0005485/0.3074, allocations: 0.6711 MB / 436.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.3076, allocations: 51.91 kB / 436.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3076, allocations: 0 / 436.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.51e-07/0.3076, allocations: 3.938 kB / 436.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.3079, allocations: 94 kB / 436.4 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.3094, allocations: 1.456 MB / 437.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.478e-05/0.3095, allocations: 83.31 kB / 437.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.121e-05/0.3095, allocations: 8.656 kB / 437.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.3095, allocations: 19.44 kB / 438 MB, free: 15.14 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3095, allocations: 0 / 438 MB, free: 15.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.3417, allocations: 3.226 MB / 441.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.17, allocations: 7.438 kB / 441.2 MB, free: 12.03 MB / 350.1 MB " [Timeout remaining time 649] (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.000215433 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [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.696873509790748]