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.001271/0.001271, allocations: 113 kB / 18.45 MB, free: 4.602 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.001559/0.001559, allocations: 190.9 kB / 21.4 MB, free: 1.664 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.463/1.463, allocations: 225.6 MB / 249.8 MB, free: 3.648 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: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 51.91 kB / 366.8 MB, free: 368 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09217/0.09381, allocations: 52.14 MB / 419 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.0033/0.09711, allocations: 1.843 MB / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.09896, allocations: 0.9936 MB / 421.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.09907, allocations: 0 / 421.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.0992, allocations: 19.73 kB / 421.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.09939, allocations: 39.64 kB / 421.9 MB, free: 9.219 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.0006154/0.1, allocations: 191.5 kB / 422 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.1003, allocations: 215.5 kB / 422.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.1004, allocations: 52.28 kB / 422.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.1006, allocations: 99.67 kB / 422.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006217/0.1012, allocations: 123.4 kB / 422.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/0.1013, allocations: 24 kB / 422.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.1015, allocations: 131.8 kB / 422.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.1016, allocations: 51.83 kB / 422.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.1017, allocations: 103.4 kB / 422.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.1022, allocations: 298.8 kB / 423.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1022, allocations: 0 / 423.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1022, allocations: 0 / 423.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1022, allocations: 0 / 423.1 MB, free: 7.949 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001153/0.1034, allocations: 0.5618 MB / 423.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.1034, allocations: 8.031 kB / 423.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/0.1036, allocations: 44.77 kB / 423.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.1039, allocations: 240.6 kB / 424 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.1039, allocations: 20.28 kB / 424 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.104, allocations: 20 kB / 424 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.1045, allocations: 203.4 kB / 424.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1045, allocations: 0 / 424.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.1045, allocations: 4 kB / 424.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1045, allocations: 4 kB / 424.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/0.105, allocations: 152.2 kB / 424.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.106, allocations: 0.5786 MB / 424.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.1071, allocations: 300.9 kB / 425.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003077/0.1074, allocations: 108.7 kB / 425.3 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1074, allocations: 4.062 kB / 425.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004071/0.1078, allocations: 175.1 kB / 425.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.1078, allocations: 0 / 425.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001049/0.1089, allocations: 355.3 kB / 425.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.1089, allocations: 63.39 kB / 425.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.1092, allocations: 215.7 kB / 426.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.1092, allocations: 33.7 kB / 426.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.1093, allocations: 132.7 kB / 426.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.285e-05/0.1094, allocations: 75.36 kB / 426.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.1095, allocations: 73.62 kB / 426.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1096, allocations: 334.8 kB / 426.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.11, allocations: 135.8 kB / 426.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/0.1104, allocations: 165.1 kB / 427.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006572/0.111, allocations: 268.6 kB / 427.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.111, allocations: 0 / 427.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008555/0.1119, allocations: 371 kB / 427.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1119, allocations: 12.03 kB / 427.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1119, allocations: 0 / 427.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1119, allocations: 0 / 427.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.1122, allocations: 71.88 kB / 427.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1123, allocations: 4 kB / 427.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.1124, allocations: 43.7 kB / 427.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.1125, allocations: 15.98 kB / 427.8 MB, free: 3 MB / 350.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.0001584/0.1126, allocations: 141.6 kB / 428 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.1127, allocations: 19.86 kB / 428 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.051e-05/0.1127, allocations: 25.86 kB / 428 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1127, allocations: 4 kB / 428 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1127, allocations: 0 / 428 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1128, allocations: 3.938 kB / 428 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.1139, allocations: 0.6348 MB / 428.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1139, allocations: 0 / 428.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.1142, allocations: 43.95 kB / 428.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1142, allocations: 8 kB / 428.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.1142, allocations: 3.984 kB / 428.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1142, allocations: 0 / 428.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1142, allocations: 0 / 428.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.1153, allocations: 497.6 kB / 429.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.147e-05/0.1154, allocations: 100.9 kB / 429.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.1154, allocations: 8.062 kB / 429.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.1156, allocations: 28.03 kB / 429.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.1156, allocations: 15.98 kB / 429.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.1156, allocations: 8 kB / 429.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.1158, allocations: 155.2 kB / 429.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1158, allocations: 0 / 429.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003524/0.1161, allocations: 59.94 kB / 429.6 MB, free: 1.16 MB / 350.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.0004855/0.1166, allocations: 191.4 kB / 429.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007718/0.1174, allocations: 271.6 kB / 430 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1174, allocations: 0 / 430 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.1177, allocations: 103.9 kB / 430.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.118, allocations: 28.03 kB / 430.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009517/0.119, allocations: 495.5 kB / 430.6 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.1194, allocations: 0.7398 MB / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.984e-05/0.1194, allocations: 19.44 kB / 431.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1194, allocations: 0 / 431.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of Templates: time 0.006561/0.126, allocations: 3.392 MB / 434.8 MB, free: 11.91 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.410958073101938]