Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008592/0.0008592, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008713/0.0008713, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8712/0.8712, allocations: 177.1 MB / 204.2 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.828e-05, allocations: 12.61 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002371/0.002399, allocations: 0.8911 MB / 325.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006199/0.003019, allocations: 246.9 kB / 325.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.265e-05/0.003112, allocations: 7.938 kB / 325.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.23e-05/0.003164, allocations: 11.92 kB / 325.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.003331, allocations: 3.938 kB / 325.7 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.003851, allocations: 99.7 kB / 325.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.003987, allocations: 55.83 kB / 325.9 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.004086, allocations: 4 kB / 325.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.717e-05/0.004143, allocations: 27.91 kB / 325.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.004219, allocations: 23.91 kB / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.00424, allocations: 0 / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.48e-05/0.004325, allocations: 39.97 kB / 326 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.481e-05/0.004399, allocations: 27.92 kB / 326 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.004429, allocations: 15.92 kB / 326 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.004633, allocations: 99.66 kB / 326.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.004637, allocations: 3.938 kB / 326.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.00464, allocations: 0 / 326.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.004645, allocations: 0 / 326.1 MB, free: 14.39 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.0004817/0.005127, allocations: 312.8 kB / 326.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.005173, allocations: 8.031 kB / 326.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.552e-05/0.005209, allocations: 42.73 kB / 326.5 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.005241, allocations: 8.891 kB / 326.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.00547, allocations: 137.7 kB / 326.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.005481, allocations: 8.375 kB / 326.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.005491, allocations: 384 / 326.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.005762, allocations: 161.4 kB / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.005771, allocations: 192 / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.00578, allocations: 384 / 326.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.005787, allocations: 12.11 kB / 326.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.905e-05/0.005826, allocations: 19.94 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.006084, allocations: 244.7 kB / 327.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.871e-05/0.006163, allocations: 42.56 kB / 327.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.678e-05/0.00619, allocations: 16.86 kB / 327.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002877/0.006477, allocations: 63.92 kB / 327.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.006497, allocations: 42.5 kB / 327.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.006499, allocations: 0 / 327.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001712/0.00667, allocations: 85.62 kB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.006709, allocations: 55.41 kB / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.006805, allocations: 149.8 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.006816, allocations: 29.7 kB / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.006849, allocations: 88.14 kB / 327.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.006863, allocations: 3.953 kB / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.006891, allocations: 21.7 kB / 327.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.6e-05/0.006967, allocations: 326.8 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.17e-05/0.006989, allocations: 15.98 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.885e-05/0.007018, allocations: 42.5 kB / 328 MB, free: 12.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.17e-05/0.007059, allocations: 46.5 kB / 328.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.007061, allocations: 0 / 328.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.167e-05/0.007143, allocations: 85.56 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.007156, allocations: 4 kB / 328.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.007161, allocations: 4.094 kB / 328.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.007175, allocations: 4 kB / 328.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/0.007237, allocations: 11.94 kB / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.007243, allocations: 3.984 kB / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.778e-05/0.007261, allocations: 3.953 kB / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.007267, allocations: 4 kB / 328.2 MB, free: 12.1 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 8.072e-05/0.007348, allocations: 128.2 kB / 328.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.007413, allocations: 73.62 kB / 328.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.007522, allocations: 86.45 kB / 328.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.007524, allocations: 0 / 328.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.00753, allocations: 8.125 kB / 328.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.007533, allocations: 0 / 328.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.48e-05/0.007608, allocations: 144.7 kB / 328.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.007613, allocations: 4 kB / 328.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.007647, allocations: 4 kB / 328.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007649, allocations: 0 / 328.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.007656, allocations: 0 / 328.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.007657, allocations: 0 / 328.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.007658, allocations: 0 / 328.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.036e-05/0.007749, allocations: 112.9 kB / 328.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.007783, allocations: 23.83 kB / 328.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.007799, allocations: 8 kB / 328.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.492e-05/0.007814, allocations: 0 / 328.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-06/0.007817, allocations: 0 / 328.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.007829, allocations: 4 kB / 328.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.783e-05/0.007887, allocations: 118.2 kB / 328.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007887, allocations: 0 / 328.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000146/0.008033, allocations: 12 kB / 328.9 MB, free: 11.31 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.0004306/0.008463, allocations: 0.6674 MB / 329.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.00857, allocations: 48.03 kB / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.008572, allocations: 0 / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.008572, allocations: 0 / 329.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.008887, allocations: 85.75 kB / 329.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009125/0.0098, allocations: 1.394 MB / 331.1 MB, free: 8.984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.358e-05/0.009863, allocations: 87.31 kB / 331.2 MB, free: 8.879 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.425e-05/0.009888, allocations: 8.062 kB / 331.2 MB, free: 8.871 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.009926, allocations: 24.55 kB / 331.2 MB, free: 8.848 MB / 298.7 MB Notification: Performance of SimCode: time 9.11e-07/0.009927, allocations: 0 / 331.2 MB, free: 8.848 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.02758, allocations: 3.317 MB / 334.5 MB, free: 5.664 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.901/6.929, allocations: 11.42 kB / 334.5 MB, free: 5.656 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 8.66798928193748]