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.001299/0.001299, allocations: 110 kB / 20.43 MB, free: 1.453 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.001402/0.001402, allocations: 213.6 kB / 23.74 MB, free: 4.66 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.464/1.464, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.002615/0.002615, allocations: 71.89 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.272, allocations: 53.41 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002427/0.2744, allocations: 0.8891 MB / 432.1 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006478/0.2751, allocations: 255.1 kB / 432.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.979e-05/0.2752, allocations: 0 / 432.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.18e-05/0.2752, allocations: 3.938 kB / 432.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.2754, allocations: 27.84 kB / 432.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.2759, allocations: 87.8 kB / 432.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.2761, allocations: 47.78 kB / 432.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.2762, allocations: 19.98 kB / 432.5 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.427e-05/0.2763, allocations: 15.92 kB / 432.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.887e-05/0.2764, allocations: 27.8 kB / 432.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.2764, allocations: 4 kB / 432.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.2765, allocations: 35.97 kB / 432.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.751e-05/0.2766, allocations: 31.91 kB / 432.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.416e-05/0.2767, allocations: 27.8 kB / 432.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.2769, allocations: 91 kB / 432.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.2769, allocations: 0 / 432.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.2769, allocations: 4 kB / 432.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.277, allocations: 0 / 432.8 MB, free: 5.129 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.000849/0.2778, allocations: 314.9 kB / 433.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.827e-05/0.2779, allocations: 12.03 kB / 433.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.333e-05/0.278, allocations: 38.73 kB / 433.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.278, allocations: 12.89 kB / 433.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.2784, allocations: 153 kB / 433.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2784, allocations: 384 / 433.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.2784, allocations: 4.375 kB / 433.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.2788, allocations: 153.5 kB / 433.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2789, allocations: 3.938 kB / 433.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.2789, allocations: 0 / 433.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.2789, allocations: 4 kB / 433.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.588e-05/0.2789, allocations: 19.92 kB / 433.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.2793, allocations: 244.8 kB / 433.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.2795, allocations: 42.56 kB / 433.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.2795, allocations: 20.89 kB / 433.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004621/0.28, allocations: 55.94 kB / 433.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.28, allocations: 38.5 kB / 433.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.28, allocations: 8 kB / 433.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000265/0.2803, allocations: 85.62 kB / 433.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.2803, allocations: 59.39 kB / 434 MB, free: 3.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.2805, allocations: 149.3 kB / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.2806, allocations: 29.7 kB / 434.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.2806, allocations: 92.06 kB / 434.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.2807, allocations: 11.95 kB / 434.3 MB, free: 3.426 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.2807, allocations: 17.72 kB / 434.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.2809, allocations: 330.8 kB / 434.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.773e-05/0.2809, allocations: 19.98 kB / 434.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.483e-05/0.281, allocations: 65.88 kB / 434.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.2811, allocations: 81.94 kB / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.2811, allocations: 0 / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001674/0.2813, allocations: 117.5 kB / 434.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.2813, allocations: 4 kB / 434.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.2813, allocations: 4 kB / 434.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.2813, allocations: 0 / 434.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.2815, allocations: 19.98 kB / 434.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2815, allocations: 0 / 434.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.2815, allocations: 11.95 kB / 434.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.2815, allocations: 7.938 kB / 434.9 MB, free: 2.695 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.0001503/0.2817, allocations: 140.9 kB / 435.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.2818, allocations: 73.7 kB / 435.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.282, allocations: 82.33 kB / 435.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.282, allocations: 4 kB / 435.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.282, allocations: 0 / 435.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.282, allocations: 0 / 435.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.2821, allocations: 156.5 kB / 435.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2821, allocations: 0 / 435.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/0.2821, allocations: 4 kB / 435.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.2821, allocations: 0 / 435.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.2822, allocations: 4 kB / 435.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2822, allocations: 0 / 435.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.2822, allocations: 4.141 kB / 435.4 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.2823, allocations: 108.9 kB / 435.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/0.2823, allocations: 19.94 kB / 435.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.2824, allocations: 4 kB / 435.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.554e-05/0.2824, allocations: 4 kB / 435.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-06/0.2824, allocations: 0 / 435.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.2824, allocations: 12 kB / 435.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.762e-05/0.2825, allocations: 115.2 kB / 435.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2825, allocations: 0 / 435.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00022/0.2827, allocations: 16 kB / 435.7 MB, free: 1.879 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.0006014/0.2833, allocations: 0.6749 MB / 436.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.2835, allocations: 59.89 kB / 436.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2835, allocations: 4 kB / 436.4 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.2835, allocations: 0 / 436.4 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.2839, allocations: 81 kB / 436.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.2856, allocations: 1.457 MB / 437.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.286, allocations: 0.7041 MB / 438.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.931e-05/0.286, allocations: 12.59 kB / 438.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.2861, allocations: 15.44 kB / 438.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2861, allocations: 0 / 438.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.3151, allocations: 2.779 MB / 441.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.35, allocations: 11.55 kB / 441.5 MB, free: 12.02 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.969254780000483]