Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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.00186/0.00186, allocations: 122.5 kB / 17.78 MB, free: 5.121 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.00198/0.00198, allocations: 189.2 kB / 20.73 MB, free: 2.184 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.48/1.48, allocations: 225.6 MB / 249.1 MB, free: 3.633 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.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 47.92 kB / 365.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08943/0.09083, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002691/0.09352, allocations: 1.489 MB / 419.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.09467, allocations: 0.5807 MB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.09472, allocations: 4 kB / 419.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.393e-05/0.0948, allocations: 11.86 kB / 419.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.171e-05/0.09486, allocations: 15.81 kB / 419.9 MB, free: 10.52 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.09538, allocations: 139.6 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.09555, allocations: 115.7 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.09559, allocations: 5.109 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.336e-05/0.09566, allocations: 63.7 kB / 420.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005449/0.09621, allocations: 71.31 kB / 420.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.09623, allocations: 12 kB / 420.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.09646, allocations: 115.8 kB / 420.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.09652, allocations: 31.91 kB / 420.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.555e-05/0.09658, allocations: 51.67 kB / 420.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.0969, allocations: 191.3 kB / 420.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.0969, allocations: 0 / 420.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.0969, allocations: 0 / 420.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.09691, allocations: 0 / 420.7 MB, free: 9.75 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006705/0.09758, allocations: 470.5 kB / 421.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.09761, allocations: 8.031 kB / 421.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.148e-05/0.09768, allocations: 42.73 kB / 421.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003015/0.09798, allocations: 40.75 kB / 421.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.09817, allocations: 204.1 kB / 421.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.0982, allocations: 11.94 kB / 421.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.09823, allocations: 7.984 kB / 421.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.09847, allocations: 115.4 kB / 421.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.09848, allocations: 7.875 kB / 421.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.09849, allocations: 3.984 kB / 421.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.09849, allocations: 0 / 421.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.09866, allocations: 55.97 kB / 421.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007112/0.09937, allocations: 452.8 kB / 422 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.09967, allocations: 121.2 kB / 422.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.09978, allocations: 53.77 kB / 422.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.09979, allocations: 4 kB / 422.2 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.1001, allocations: 141 kB / 422.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 3.517e-06/0.1001, allocations: 7.922 kB / 422.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005172/0.1006, allocations: 241.5 kB / 422.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.1006, allocations: 89.09 kB / 422.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.1008, allocations: 186.2 kB / 422.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.1009, allocations: 41.7 kB / 422.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.1009, allocations: 116.5 kB / 423 MB, free: 7.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.101, allocations: 39.69 kB / 423.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.36e-05/0.1011, allocations: 57.92 kB / 423.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1012, allocations: 330.8 kB / 423.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.1014, allocations: 96.45 kB / 423.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.1016, allocations: 128.2 kB / 423.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.102, allocations: 219.4 kB / 423.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.102, allocations: 0 / 423.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004779/0.1025, allocations: 285.4 kB / 424.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1025, allocations: 4 kB / 424.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1025, allocations: 3.938 kB / 424.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1025, allocations: 4 kB / 424.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1026, allocations: 39.86 kB / 424.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1026, allocations: 4.062 kB / 424.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.367e-05/0.1027, allocations: 27.83 kB / 424.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.1027, allocations: 4 kB / 424.2 MB, free: 5.871 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.000141/0.1029, allocations: 154.4 kB / 424.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.1029, allocations: 11.91 kB / 424.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.1029, allocations: 13.41 kB / 424.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.103, allocations: 3.938 kB / 424.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.103, allocations: 8 kB / 424.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.103, allocations: 3.984 kB / 424.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.1032, allocations: 197.6 kB / 424.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1032, allocations: 0 / 424.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.1032, allocations: 11.98 kB / 424.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1032, allocations: 0 / 424.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.1032, allocations: 4 kB / 424.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1032, allocations: 4.406 kB / 424.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1032, allocations: 0 / 424.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.1036, allocations: 229.7 kB / 424.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.1037, allocations: 93.02 kB / 425 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.1037, allocations: 11.98 kB / 425 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/0.1037, allocations: 3.938 kB / 425 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.1038, allocations: 15.98 kB / 425 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1038, allocations: 4 kB / 425 MB, free: 5.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1039, allocations: 132.2 kB / 425.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1039, allocations: 0 / 425.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1042, allocations: 55.81 kB / 425.2 MB, free: 4.828 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001127/0.1053, allocations: 0.9212 MB / 426.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003967/0.1057, allocations: 176.1 kB / 426.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1057, allocations: 0 / 426.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.1058, allocations: 59.89 kB / 426.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.106, allocations: 11.94 kB / 426.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.1084, allocations: 2.092 MB / 428.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1088, allocations: 0.7159 MB / 429.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.426e-05/0.1088, allocations: 28.95 kB / 429.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.1089, allocations: 35.42 kB / 429.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1089, allocations: 0 / 429.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.1351, allocations: 3.649 MB / 432.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.013, allocations: 9.797 kB / 432.9 MB, free: 13.1 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.391345344018191]