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.001273/0.001273, allocations: 124.1 kB / 17.79 MB, free: 5.25 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.001327/0.001327, allocations: 198.8 kB / 20.73 MB, free: 2.309 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.453/1.453, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.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.001527/0.001527, allocations: 55.91 kB / 365.6 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1022, allocations: 52.14 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002106/0.1043, allocations: 0.8935 MB / 418.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005722/0.1048, allocations: 255.1 kB / 418.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.1049, allocations: 4 kB / 418.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.975e-05/0.105, allocations: 11.86 kB / 418.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.1051, allocations: 3.938 kB / 418.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.1055, allocations: 107.1 kB / 419.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1056, allocations: 43.86 kB / 419.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.89e-05/0.1057, allocations: 19.92 kB / 419.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.433e-05/0.1057, allocations: 15.92 kB / 419.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.997e-05/0.1058, allocations: 27.91 kB / 419.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1058, allocations: 4 kB / 419.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.258e-05/0.1059, allocations: 35.97 kB / 419.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.1059, allocations: 19.92 kB / 419.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.106, allocations: 31.73 kB / 419.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1061, allocations: 99.61 kB / 419.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1062, allocations: 4 kB / 419.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1062, allocations: 3.938 kB / 419.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1062, allocations: 0 / 419.4 MB, free: 11.02 MB / 350.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.0005015/0.1067, allocations: 387 kB / 419.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1067, allocations: 12.03 kB / 419.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.1067, allocations: 34.75 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.1068, allocations: 12.84 kB / 419.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.107, allocations: 200.2 kB / 420 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.107, allocations: 4.375 kB / 420 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.107, allocations: 8.375 kB / 420 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.1073, allocations: 145.5 kB / 420.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1073, allocations: 3.938 kB / 420.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.1074, allocations: 3.938 kB / 420.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1074, allocations: 4 kB / 420.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.852e-05/0.1074, allocations: 27.86 kB / 420.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.1077, allocations: 273.7 kB / 420.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.393e-05/0.1078, allocations: 34.58 kB / 420.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.1078, allocations: 20.89 kB / 420.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006992/0.1085, allocations: 0.5934 MB / 421.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1086, allocations: 34.56 kB / 421.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1086, allocations: 0 / 421.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001961/0.1088, allocations: 81.59 kB / 421.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.1088, allocations: 63.41 kB / 421.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.109, allocations: 141.8 kB / 421.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.109, allocations: 29.7 kB / 421.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.1091, allocations: 92.12 kB / 421.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.1091, allocations: 7.953 kB / 421.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.1091, allocations: 25.72 kB / 421.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1093, allocations: 322.8 kB / 421.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/0.1093, allocations: 27.92 kB / 421.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.29e-05/0.1094, allocations: 58 kB / 422 MB, free: 8.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.59e-05/0.1095, allocations: 81.94 kB / 422 MB, free: 7.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1095, allocations: 0 / 422 MB, free: 7.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001666/0.1096, allocations: 113.4 kB / 422.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1096, allocations: 6.406 kB / 422.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1096, allocations: 8 kB / 422.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1097, allocations: 0 / 422.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.1097, allocations: 19.98 kB / 422.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1098, allocations: 7.875 kB / 422.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.769e-05/0.1098, allocations: 7.953 kB / 422.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1098, allocations: 11.94 kB / 422.2 MB, free: 7.746 MB / 350.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.0001241/0.1099, allocations: 129.8 kB / 422.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.11, allocations: 65.64 kB / 422.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.1102, allocations: 98.41 kB / 422.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1102, allocations: 4 kB / 422.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1102, allocations: 0 / 422.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1102, allocations: 192 / 422.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.1103, allocations: 177.6 kB / 422.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1103, allocations: 3.938 kB / 422.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.322e-05/0.1104, allocations: 4 kB / 422.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1104, allocations: 0 / 422.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1104, allocations: 0 / 422.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.1104, allocations: 240 / 422.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1104, allocations: 0 / 422.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.1105, allocations: 124.9 kB / 422.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.1106, allocations: 97 kB / 422.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1106, allocations: 4 kB / 422.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.291e-05/0.1107, allocations: 0 / 422.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-06/0.1107, allocations: 3.938 kB / 422.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.1107, allocations: 3.984 kB / 422.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.1108, allocations: 117.3 kB / 423 MB, free: 6.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1108, allocations: 4 kB / 423 MB, free: 6.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.111, allocations: 19.98 kB / 423 MB, free: 6.797 MB / 350.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.0005735/0.1116, allocations: 0.667 MB / 423.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.1117, allocations: 56.27 kB / 423.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1117, allocations: 4.125 kB / 423.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.1117, allocations: 0 / 423.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1121, allocations: 79.7 kB / 423.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.1136, allocations: 1.472 MB / 425.3 MB, free: 4.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.1139, allocations: 0.7039 MB / 426 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.63e-05/0.114, allocations: 8.672 kB / 426 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/0.114, allocations: 23.42 kB / 426.1 MB, free: 3.602 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.114, allocations: 0 / 426.1 MB, free: 3.602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.1407, allocations: 2.622 MB / 428.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.191, allocations: 7.438 kB / 428.7 MB, free: 1.094 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.717550210654736]