Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001548/0.001548, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001692/0.001692, allocations: 188.2 kB / 23.72 MB, free: 4.684 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.464/1.464, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.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.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 47.92 kB / 370.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2501, allocations: 52.18 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003063/0.2531, allocations: 1.874 MB / 424.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.2549, allocations: 1.002 MB / 425.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.448e-05/0.255, allocations: 4 kB / 425.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.2551, allocations: 19.73 kB / 425.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.2553, allocations: 35.66 kB / 425.6 MB, free: 11.65 MB / 334.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.0005822/0.2559, allocations: 183.5 kB / 425.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.2562, allocations: 227.4 kB / 426 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.2563, allocations: 48.56 kB / 426 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.2564, allocations: 103.7 kB / 426.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005409/0.257, allocations: 123.4 kB / 426.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.257, allocations: 24 kB / 426.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000294/0.2573, allocations: 159.8 kB / 426.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.967e-05/0.2574, allocations: 59.81 kB / 426.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.2575, allocations: 95.47 kB / 426.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.2579, allocations: 291.3 kB / 426.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2579, allocations: 3.984 kB / 426.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2579, allocations: 0 / 426.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2579, allocations: 4 kB / 426.9 MB, free: 10.36 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001048/0.259, allocations: 494.2 kB / 427.3 MB, free: 9.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.259, allocations: 12.02 kB / 427.4 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.497e-05/0.2591, allocations: 54.73 kB / 427.4 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.2593, allocations: 40.78 kB / 427.5 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.2595, allocations: 183.4 kB / 427.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.2596, allocations: 19.98 kB / 427.7 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.2596, allocations: 27.89 kB / 427.7 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.2601, allocations: 195.3 kB / 427.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2601, allocations: 0 / 427.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.2601, allocations: 8 kB / 427.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.2601, allocations: 7.984 kB / 427.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.2605, allocations: 152.2 kB / 428 MB, free: 9.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009863/0.2615, allocations: 0.5543 MB / 428.6 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009391/0.2625, allocations: 293.9 kB / 428.9 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.2627, allocations: 116.7 kB / 429 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.2628, allocations: 4 kB / 429 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.2631, allocations: 165 kB / 429.2 MB, free: 7.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.422e-06/0.2631, allocations: 0 / 429.2 MB, free: 7.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009291/0.2641, allocations: 358.9 kB / 429.5 MB, free: 7.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.2641, allocations: 67.33 kB / 429.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.2643, allocations: 219.7 kB / 429.8 MB, free: 7.273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.2644, allocations: 37.7 kB / 429.8 MB, free: 7.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.73e-05/0.2645, allocations: 132.6 kB / 430 MB, free: 7.098 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.825e-05/0.2645, allocations: 79.48 kB / 430 MB, free: 7.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-05/0.2646, allocations: 65.64 kB / 430.1 MB, free: 6.949 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2648, allocations: 338.8 kB / 430.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.2651, allocations: 131.9 kB / 430.6 MB, free: 6.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.2654, allocations: 161.4 kB / 430.7 MB, free: 6.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/0.266, allocations: 268.5 kB / 431 MB, free: 6.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.266, allocations: 0 / 431 MB, free: 6.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007614/0.2668, allocations: 373.2 kB / 431.3 MB, free: 5.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2668, allocations: 4 kB / 431.3 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2668, allocations: 4 kB / 431.3 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2668, allocations: 0 / 431.3 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.2671, allocations: 67.88 kB / 431.4 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.2671, allocations: 7.938 kB / 431.4 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.2673, allocations: 43.83 kB / 431.5 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.2673, allocations: 15.92 kB / 431.5 MB, free: 5.539 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001477/0.2675, allocations: 149.6 kB / 431.6 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.2675, allocations: 19.86 kB / 431.6 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.761e-05/0.2676, allocations: 21.95 kB / 431.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2676, allocations: 0 / 431.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2676, allocations: 7.938 kB / 431.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2676, allocations: 4 kB / 431.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.2687, allocations: 0.6015 MB / 432.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2687, allocations: 0 / 432.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.2689, allocations: 47.95 kB / 432.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2689, allocations: 0 / 432.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.2689, allocations: 4 kB / 432.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2689, allocations: 4 kB / 432.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2689, allocations: 7.875 kB / 432.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00097/0.2699, allocations: 491.7 kB / 432.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.2699, allocations: 23.8 kB / 432.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.27, allocations: 8.062 kB / 432.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.2702, allocations: 19.97 kB / 432.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.2702, allocations: 19.97 kB / 432.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.2703, allocations: 4 kB / 432.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.2704, allocations: 147.2 kB / 433 MB, free: 3.906 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2704, allocations: 0 / 433 MB, free: 3.906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000338/0.2707, allocations: 71.86 kB / 433.1 MB, free: 3.836 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001635/0.2724, allocations: 1.12 MB / 434.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006867/0.2731, allocations: 264.4 kB / 434.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2731, allocations: 3.938 kB / 434.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002932/0.2733, allocations: 108 kB / 434.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.2737, allocations: 27.86 kB / 434.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/0.2776, allocations: 2.796 MB / 437.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.278, allocations: 0.7398 MB / 438.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.2781, allocations: 29.94 kB / 438.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.2782, allocations: 67.41 kB / 438.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2782, allocations: 0 / 438.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/0.3134, allocations: 5.589 MB / 443.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.61, allocations: 25.59 kB / 443.9 MB, free: 9.113 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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: 15.37285534106195]