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.002087/0.002087, allocations: 70.03 kB / 21.24 MB, free: 0.5547 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.002455/0.002455, allocations: 153.6 kB / 24.49 MB, free: 3.852 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.489/1.489, allocations: 173.4 MB / 201.1 MB, free: 12.69 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.001567/0.001567, allocations: 46.7 kB / 319.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08962/0.09119, allocations: 52.17 MB / 371.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.00346/0.09465, allocations: 1.784 MB / 373.4 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.09652, allocations: 0.9471 MB / 374.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.406e-05/0.09662, allocations: 4 kB / 374.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.09674, allocations: 19.73 kB / 374.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.09691, allocations: 35.66 kB / 374.4 MB, free: 4.516 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.0005688/0.09748, allocations: 195.5 kB / 374.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.09775, allocations: 223.5 kB / 374.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.09791, allocations: 44.5 kB / 374.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.09803, allocations: 103.6 kB / 374.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005495/0.09858, allocations: 114.2 kB / 375 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.09862, allocations: 20 kB / 375.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.09891, allocations: 151.8 kB / 375.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.609e-05/0.099, allocations: 59.81 kB / 375.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.0991, allocations: 75.59 kB / 375.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.09956, allocations: 298.8 kB / 375.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.09957, allocations: 7.922 kB / 375.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.09957, allocations: 4 kB / 375.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.09958, allocations: 0 / 375.6 MB, free: 3.242 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.001168/0.1007, allocations: 490.3 kB / 376.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1008, allocations: 16.91 kB / 376.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.101, allocations: 28.8 kB / 376.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.1013, allocations: 195.6 kB / 376.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.1013, allocations: 16.28 kB / 376.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.1014, allocations: 23.94 kB / 376.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.1019, allocations: 194.9 kB / 376.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1019, allocations: 0 / 376.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.1019, allocations: 4 kB / 376.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1019, allocations: 8 kB / 376.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004753/0.1024, allocations: 156.2 kB / 376.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.1034, allocations: 476.2 kB / 377.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.1045, allocations: 298.7 kB / 377.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.1048, allocations: 108.8 kB / 377.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1048, allocations: 0 / 377.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003973/0.1052, allocations: 167.2 kB / 377.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.1052, allocations: 0 / 377.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001016/0.1062, allocations: 357.2 kB / 378.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.1063, allocations: 63.39 kB / 378.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.1065, allocations: 186.4 kB / 378.4 MB, free: 380 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.1066, allocations: 45.69 kB / 378.4 MB, free: 328 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.1067, allocations: 124.6 kB / 378.5 MB, free: 200 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.09e-05/0.1068, allocations: 83.44 kB / 378.6 MB, free: 116 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.1069, allocations: 65.69 kB / 378.7 MB, free: 44 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.1071, allocations: 334.8 kB / 379 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.1074, allocations: 131.8 kB / 379.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/0.1078, allocations: 165.6 kB / 379.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/0.1085, allocations: 271.3 kB / 379.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1085, allocations: 0 / 379.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008119/0.1093, allocations: 368.6 kB / 379.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1093, allocations: 7.938 kB / 379.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1093, allocations: 4.031 kB / 379.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1093, allocations: 7.938 kB / 379.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.1096, allocations: 67.88 kB / 380 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1096, allocations: 4 kB / 380 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.1098, allocations: 43.75 kB / 380.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.1098, allocations: 8 kB / 380.1 MB, free: 14.63 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.0001805/0.11, allocations: 161.5 kB / 380.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.11, allocations: 15.91 kB / 380.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.874e-05/0.1101, allocations: 13.97 kB / 380.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1101, allocations: 4 kB / 380.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1101, allocations: 0 / 380.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1101, allocations: 3.984 kB / 380.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.1112, allocations: 0.5476 MB / 380.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1112, allocations: 4 kB / 380.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.1115, allocations: 39.95 kB / 380.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1115, allocations: 0 / 380.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.1115, allocations: 8 kB / 380.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1115, allocations: 4 kB / 380.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1115, allocations: 0 / 380.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.1126, allocations: 491.5 kB / 381.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.1126, allocations: 19.8 kB / 381.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.1127, allocations: 8.188 kB / 381.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.1129, allocations: 27.97 kB / 381.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/0.1129, allocations: 11.97 kB / 381.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.113, allocations: 4 kB / 381.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.1131, allocations: 144.3 kB / 381.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1131, allocations: 0 / 381.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003923/0.1135, allocations: 63.88 kB / 381.6 MB, free: 13.02 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.0005457/0.1141, allocations: 206.4 kB / 381.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007582/0.1148, allocations: 264.4 kB / 382.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1148, allocations: 4 kB / 382.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.1151, allocations: 107.9 kB / 382.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.1155, allocations: 27.92 kB / 382.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.1165, allocations: 454.3 kB / 382.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.1166, allocations: 129.2 kB / 382.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.1167, allocations: 37.61 kB / 382.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.932e-05/0.1168, allocations: 32.42 kB / 382.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1168, allocations: 0 / 382.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of Templates: time 0.007351/0.1242, allocations: 3.002 MB / 385.9 MB, free: 8.801 MB / 350.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 -s ida -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/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: 5.537719924002886]