Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001009/0.001009, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009814/0.0009814, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.9608/0.9608, allocations: 177.1 MB / 205.3 MB, free: 5.461 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: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 273.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.404e-05/1.534e-05, allocations: 6.312 kB / 273.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002144/0.002159, allocations: 1.911 MB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.003377, allocations: 1.028 MB / 276.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.003448, allocations: 0 / 276.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.578e-05/0.003544, allocations: 23.73 kB / 276.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.003686, allocations: 35.66 kB / 276.5 MB, free: 14.2 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0003541/0.00404, allocations: 187.2 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.004231, allocations: 227.4 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.004341, allocations: 50.52 kB / 277 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.004452, allocations: 139.7 kB / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.004777, allocations: 100.3 kB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.004808, allocations: 20 kB / 277.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.005016, allocations: 163.7 kB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.005064, allocations: 59.73 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.005118, allocations: 71.81 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.005412, allocations: 259 kB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.005413, allocations: 0 / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005414, allocations: 4 kB / 277.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.005418, allocations: 4 kB / 277.8 MB, free: 12.95 MB / 266.7 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.0006262/0.006044, allocations: 460.9 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.006079, allocations: 8.031 kB / 278.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.00624, allocations: 44.89 kB / 278.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.006399, allocations: 186 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.006417, allocations: 20.66 kB / 278.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.006442, allocations: 20.36 kB / 278.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.006619, allocations: 131.1 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.006627, allocations: 3.938 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.006638, allocations: 4 kB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.006644, allocations: 4 kB / 278.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.506e-05/0.006709, allocations: 37.11 kB / 278.7 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.00718, allocations: 354.2 kB / 279 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.007461, allocations: 181.7 kB / 279.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.028e-05/0.007501, allocations: 32.84 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.007514, allocations: 4 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.007621, allocations: 98.08 kB / 279.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.253e-06/0.007622, allocations: 4 kB / 279.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001766/0.007799, allocations: 120.8 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.007832, allocations: 63.41 kB / 279.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.007968, allocations: 199.6 kB / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.00799, allocations: 41.7 kB / 279.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.008037, allocations: 120.5 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.008071, allocations: 71.41 kB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.676e-05/0.008168, allocations: 65.95 kB / 280 MB, free: 10.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.008271, allocations: 338.7 kB / 280.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.704e-05/0.008338, allocations: 42.34 kB / 280.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/0.008404, allocations: 69.41 kB / 280.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.008521, allocations: 125 kB / 280.5 MB, free: 9.996 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.008523, allocations: 0 / 280.5 MB, free: 9.996 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0001994/0.008723, allocations: 162.9 kB / 280.7 MB, free: 9.832 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.008735, allocations: 10.66 kB / 280.7 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.00874, allocations: 0 / 280.7 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.00875, allocations: 0 / 280.7 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.008921, allocations: 83.88 kB / 280.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.008927, allocations: 11.88 kB / 280.8 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.783e-05/0.008994, allocations: 39.8 kB / 280.8 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.009008, allocations: 11.98 kB / 280.9 MB, free: 9.68 MB / 266.7 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,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,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 8.162e-05/0.00909, allocations: 132.6 kB / 281 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.009108, allocations: 15.98 kB / 281 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.009146, allocations: 25.95 kB / 281 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.009148, allocations: 0 / 281 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.00915, allocations: 3.938 kB / 281 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.009153, allocations: 4 kB / 281 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.009444, allocations: 354.4 kB / 281.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.009445, allocations: 3.984 kB / 281.4 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.009549, allocations: 43.89 kB / 281.4 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.009551, allocations: 4 kB / 281.4 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.009562, allocations: 4 kB / 281.4 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.009563, allocations: 0 / 281.4 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009564, allocations: 0 / 281.4 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.009826, allocations: 301 kB / 281.7 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.00984, allocations: 11.91 kB / 281.7 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.00986, allocations: 11.94 kB / 281.8 MB, free: 8.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.009932, allocations: 19.97 kB / 281.8 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.009967, allocations: 19.91 kB / 281.8 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.009974, allocations: 4 kB / 281.8 MB, free: 8.688 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.707e-05/0.01002, allocations: 61.78 kB / 281.9 MB, free: 8.625 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01002, allocations: 0 / 281.9 MB, free: 8.625 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.01019, allocations: 71.81 kB / 281.9 MB, free: 8.555 MB / 266.7 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 (17): * Single equations (assignments): 15 * 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.0003017/0.0105, allocations: 211 kB / 282.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.01065, allocations: 116.7 kB / 282.2 MB, free: 8.266 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01065, allocations: 0 / 282.2 MB, free: 8.266 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.521e-05/0.01071, allocations: 44.78 kB / 282.3 MB, free: 8.219 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.01087, allocations: 34.89 kB / 282.3 MB, free: 8.188 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.0113, allocations: 399.1 kB / 282.7 MB, free: 7.766 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.164e-05/0.01134, allocations: 79.98 kB / 282.8 MB, free: 7.668 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.572e-05/0.01141, allocations: 29.69 kB / 282.8 MB, free: 7.641 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.683e-05/0.0115, allocations: 83.36 kB / 282.9 MB, free: 7.559 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01151, allocations: 0 / 282.9 MB, free: 7.559 MB / 266.7 MB Notification: Performance of Templates: time 0.004804/0.01631, allocations: 3.276 MB / 286.2 MB, free: 4.32 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0707832747139037]