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.0007948/0.0007948, allocations: 80.34 kB / 20.67 MB, free: 3.879 MB / 18.57 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.000804/0.000804, allocations: 160.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.8794/0.8794, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.242e-06/1.242e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.367e-05, allocations: 2.281 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001527/0.001541, allocations: 0.899 MB / 325.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004345/0.001976, allocations: 247 kB / 325.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.731e-05/0.002043, allocations: 0 / 325.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.693e-05/0.00208, allocations: 3.938 kB / 325.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.002213, allocations: 15.91 kB / 325.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.002536, allocations: 103.6 kB / 325.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.002636, allocations: 39.86 kB / 325.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.587e-05/0.002722, allocations: 15.98 kB / 325.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.002766, allocations: 19.98 kB / 325.9 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.066e-05/0.002827, allocations: 23.91 kB / 325.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.002843, allocations: 4 kB / 325.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-05/0.00292, allocations: 35.97 kB / 325.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.002979, allocations: 23.92 kB / 325.9 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.003008, allocations: 23.91 kB / 326 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.003156, allocations: 99.61 kB / 326.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003158, allocations: 0 / 326.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003159, allocations: 0 / 326.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.003163, allocations: 0 / 326.1 MB, free: 14.37 MB / 298.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.0003972/0.00356, allocations: 305.9 kB / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.003596, allocations: 15.98 kB / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.013e-05/0.003636, allocations: 42.69 kB / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.003661, allocations: 8.891 kB / 326.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.003835, allocations: 145.6 kB / 326.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.003843, allocations: 384 / 326.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.003854, allocations: 8.375 kB / 326.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.004077, allocations: 145.5 kB / 326.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.004084, allocations: 4.188 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.004092, allocations: 4.375 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.004099, allocations: 4.125 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.502e-05/0.004134, allocations: 19.98 kB / 326.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002326/0.004367, allocations: 240.7 kB / 327 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.015e-05/0.004437, allocations: 42.55 kB / 327 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.004464, allocations: 24.8 kB / 327.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/0.004734, allocations: 67.91 kB / 327.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.004752, allocations: 34.56 kB / 327.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.004753, allocations: 0 / 327.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001485/0.004902, allocations: 85.58 kB / 327.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.004938, allocations: 55.41 kB / 327.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/0.005025, allocations: 149.8 kB / 327.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.005035, allocations: 29.7 kB / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/0.005069, allocations: 92.12 kB / 327.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.00508, allocations: 15.89 kB / 327.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.005105, allocations: 17.72 kB / 327.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.005178, allocations: 326.8 kB / 327.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.005197, allocations: 16 kB / 327.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.005223, allocations: 34.56 kB / 328 MB, free: 12.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.005262, allocations: 42.5 kB / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005264, allocations: 0 / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.259e-05/0.005337, allocations: 89.62 kB / 328.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.005349, allocations: 8 kB / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.005354, allocations: 0 / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.005365, allocations: 0 / 328.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.304e-05/0.005418, allocations: 15.98 kB / 328.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.005425, allocations: 240 / 328.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.005441, allocations: 7.953 kB / 328.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.005447, allocations: 7.922 kB / 328.1 MB, free: 12.08 MB / 298.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 7.477e-05/0.005522, allocations: 133.7 kB / 328.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/0.005588, allocations: 69.7 kB / 328.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.792e-05/0.005685, allocations: 94.42 kB / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.005688, allocations: 0 / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.005692, allocations: 0 / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.005695, allocations: 0 / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.32e-05/0.005778, allocations: 148.6 kB / 328.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.005781, allocations: 0 / 328.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.005803, allocations: 4 kB / 328.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.005805, allocations: 0 / 328.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.005811, allocations: 4 kB / 328.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005812, allocations: 0 / 328.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.005814, allocations: 3.984 kB / 328.6 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.955e-05/0.005883, allocations: 97.02 kB / 328.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.005913, allocations: 23.89 kB / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.005927, allocations: 4 kB / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.062e-05/0.005938, allocations: 7.938 kB / 328.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-06/0.00594, allocations: 0 / 328.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.005949, allocations: 4.125 kB / 328.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.919e-05/0.005999, allocations: 115.4 kB / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005999, allocations: 3.938 kB / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001404/0.006139, allocations: 20 kB / 328.8 MB, free: 11.28 MB / 298.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.0003618/0.006501, allocations: 0.6709 MB / 329.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.398e-05/0.006585, allocations: 43.95 kB / 329.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006586, allocations: 0 / 329.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.2e-07/0.006587, allocations: 0 / 329.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.006826, allocations: 80.95 kB / 329.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008571/0.007683, allocations: 1.384 MB / 331 MB, free: 8.965 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.293e-05/0.007736, allocations: 91.42 kB / 331.1 MB, free: 8.855 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.964e-05/0.007755, allocations: 15.77 kB / 331.1 MB, free: 8.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.00779, allocations: 20.5 kB / 331.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.00779, allocations: 288 / 331.1 MB, free: 8.82 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.02201, allocations: 3.315 MB / 334.5 MB, free: 5.613 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.744/6.766, allocations: 11.92 kB / 334.5 MB, free: 5.602 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins/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: 8.489485901780427]