Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001379/0.00138, allocations: 119.6 kB / 18.41 MB, free: 4.688 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.001373/0.001373, allocations: 192.3 kB / 21.35 MB, free: 1.75 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.543/1.543, allocations: 222.9 MB / 247 MB, free: 4.09 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.NormalNoiseProperties,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.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 51.92 kB / 358.7 MB, free: 8.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09615/0.09772, allocations: 49.44 MB / 408.1 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003046/0.1008, allocations: 1.837 MB / 410 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.103, allocations: 1.251 MB / 411.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.938e-05/0.1031, allocations: 7.938 kB / 411.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.1032, allocations: 19.73 kB / 411.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.918e-05/0.1033, allocations: 19.73 kB / 411.2 MB, free: 3.574 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.0008641/0.1042, allocations: 323.1 kB / 411.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.1045, allocations: 219.5 kB / 411.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.1046, allocations: 64.22 kB / 411.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.1048, allocations: 91.67 kB / 411.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005801/0.1053, allocations: 120.2 kB / 412 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.1054, allocations: 24 kB / 412.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004845/0.1059, allocations: 275.5 kB / 412.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.434e-05/0.106, allocations: 51.83 kB / 412.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.1061, allocations: 99.45 kB / 412.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005625/0.1067, allocations: 394.5 kB / 412.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1067, allocations: 0 / 412.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1067, allocations: 0 / 412.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1067, allocations: 4 kB / 412.9 MB, free: 1.941 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.001117/0.1078, allocations: 0.5812 MB / 413.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1079, allocations: 12.03 kB / 413.5 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.1081, allocations: 32.78 kB / 413.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.1084, allocations: 240.6 kB / 413.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.1084, allocations: 20.28 kB / 413.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.1085, allocations: 20 kB / 413.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.109, allocations: 195.5 kB / 414 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.109, allocations: 3.984 kB / 414 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.109, allocations: 8 kB / 414 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.109, allocations: 4 kB / 414 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000488/0.1095, allocations: 152.2 kB / 414.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.1106, allocations: 0.5787 MB / 414.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.1118, allocations: 306.6 kB / 415 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.1121, allocations: 116.7 kB / 415.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1121, allocations: 4 kB / 415.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004372/0.1126, allocations: 168.5 kB / 415.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/0.1126, allocations: 0 / 415.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001097/0.1137, allocations: 362.7 kB / 415.6 MB, free: 15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.1138, allocations: 55.41 kB / 415.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.114, allocations: 215.7 kB / 415.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.114, allocations: 41.7 kB / 416 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1142, allocations: 124.8 kB / 416.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.56e-05/0.1142, allocations: 79.41 kB / 416.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.1144, allocations: 69.64 kB / 416.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1145, allocations: 338.8 kB / 416.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.1149, allocations: 131.8 kB / 416.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.1153, allocations: 169.1 kB / 416.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000669/0.116, allocations: 268.6 kB / 417.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.116, allocations: 3.938 kB / 417.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008641/0.1168, allocations: 371 kB / 417.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1169, allocations: 4 kB / 417.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.1169, allocations: 0 / 417.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1169, allocations: 4 kB / 417.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.1172, allocations: 63.89 kB / 417.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.1173, allocations: 4 kB / 417.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.1174, allocations: 47.69 kB / 417.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.1175, allocations: 15.98 kB / 417.6 MB, free: 12.97 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.0001615/0.1177, allocations: 145.6 kB / 417.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.1177, allocations: 23.86 kB / 417.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.64e-05/0.1178, allocations: 21.86 kB / 417.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1178, allocations: 0 / 417.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.1178, allocations: 4 kB / 417.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.1178, allocations: 7.938 kB / 417.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.119, allocations: 0.627 MB / 418.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.119, allocations: 0 / 418.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.1193, allocations: 51.91 kB / 418.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1193, allocations: 3.984 kB / 418.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.1194, allocations: 4 kB / 418.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1194, allocations: 0 / 418.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1194, allocations: 0 / 418.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.1205, allocations: 491.8 kB / 419 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-05/0.1205, allocations: 100.9 kB / 419.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.1206, allocations: 8.062 kB / 419.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.1208, allocations: 31.91 kB / 419.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.1209, allocations: 11.92 kB / 419.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.1209, allocations: 11.97 kB / 419.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.121, allocations: 155.2 kB / 419.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.121, allocations: 0 / 419.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000441/0.1215, allocations: 95.8 kB / 419.4 MB, free: 11.1 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.000637/0.1221, allocations: 259.1 kB / 419.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007895/0.1229, allocations: 283.6 kB / 419.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1229, allocations: 0 / 419.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.1233, allocations: 118.5 kB / 420 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.1236, allocations: 29.73 kB / 420.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009244/0.1245, allocations: 491.5 kB / 420.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1249, allocations: 0.7476 MB / 421.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.981e-05/0.125, allocations: 23.42 kB / 421.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.125, allocations: 4 kB / 421.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of Templates: time 0.007284/0.1323, allocations: 4.084 MB / 425.4 MB, free: 5.055 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.847965625929646]