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.00154/0.00154, allocations: 116.5 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.001612/0.001612, allocations: 190.7 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.495/1.495, allocations: 225.6 MB / 249.8 MB, free: 3.602 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.001468/0.001468, allocations: 47.92 kB / 366.8 MB, free: 400 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09543/0.09689, allocations: 52.14 MB / 419 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.00323/0.1001, allocations: 1.849 MB / 420.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.1024, allocations: 1.263 MB / 422.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.431e-05/0.1025, allocations: 4 kB / 422.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.1027, allocations: 19.73 kB / 422.1 MB, free: 9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.1028, allocations: 27.73 kB / 422.1 MB, free: 8.973 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.0009426/0.1037, allocations: 319.1 kB / 422.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.104, allocations: 215.5 kB / 422.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.1041, allocations: 48.28 kB / 422.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1042, allocations: 99.61 kB / 422.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006089/0.1048, allocations: 123.6 kB / 422.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.1049, allocations: 20 kB / 422.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004972/0.1054, allocations: 291.5 kB / 423.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.669e-05/0.1055, allocations: 55.81 kB / 423.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.1056, allocations: 107.4 kB / 423.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005751/0.1062, allocations: 386.6 kB / 423.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1062, allocations: 0 / 423.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1062, allocations: 0 / 423.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.1062, allocations: 0 / 423.8 MB, free: 7.34 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.001141/0.1073, allocations: 0.5812 MB / 424.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.1074, allocations: 8.031 kB / 424.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.1076, allocations: 40.72 kB / 424.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.1079, allocations: 244.6 kB / 424.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.1079, allocations: 12.28 kB / 424.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.1079, allocations: 24 kB / 424.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/0.1084, allocations: 199.5 kB / 424.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1085, allocations: 0 / 424.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.1085, allocations: 8 kB / 424.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1085, allocations: 0 / 424.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.109, allocations: 156.1 kB / 425 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.11, allocations: 0.5748 MB / 425.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.1111, allocations: 294.6 kB / 425.9 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.1114, allocations: 116.8 kB / 426 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1115, allocations: 12 kB / 426 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004218/0.1119, allocations: 167.2 kB / 426.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.1119, allocations: 0 / 426.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001052/0.113, allocations: 361.2 kB / 426.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.113, allocations: 59.41 kB / 426.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.1132, allocations: 211.7 kB / 426.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.1133, allocations: 41.7 kB / 426.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.933e-05/0.1134, allocations: 128.6 kB / 426.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.362e-05/0.1134, allocations: 71.42 kB / 427 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1136, allocations: 69.64 kB / 427.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1137, allocations: 342.8 kB / 427.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.1141, allocations: 127.9 kB / 427.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.1144, allocations: 165.1 kB / 427.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006597/0.1151, allocations: 272.5 kB / 428 MB, free: 2.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1151, allocations: 0 / 428 MB, free: 2.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008368/0.1159, allocations: 371 kB / 428.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.116, allocations: 6.344 kB / 428.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.116, allocations: 0 / 428.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.116, allocations: 7.938 kB / 428.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.1163, allocations: 71.97 kB / 428.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1163, allocations: 3.938 kB / 428.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.1165, allocations: 43.7 kB / 428.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.1165, allocations: 15.98 kB / 428.5 MB, free: 2.375 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.0001613/0.1167, allocations: 141.6 kB / 428.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.1167, allocations: 27.78 kB / 428.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.045e-05/0.1168, allocations: 29.81 kB / 428.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1168, allocations: 0 / 428.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1168, allocations: 0 / 428.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.1168, allocations: 7.922 kB / 428.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.118, allocations: 0.6252 MB / 429.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.118, allocations: 0 / 429.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.1183, allocations: 47.89 kB / 429.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1183, allocations: 0 / 429.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.1183, allocations: 11.98 kB / 429.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1183, allocations: 0 / 429.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1183, allocations: 0 / 429.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.1194, allocations: 488.2 kB / 429.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.1195, allocations: 104.9 kB / 429.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.1195, allocations: 8.062 kB / 430 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.1197, allocations: 15.97 kB / 430 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.1198, allocations: 19.92 kB / 430 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.1198, allocations: 8.125 kB / 430 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.1199, allocations: 151.2 kB / 430.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1199, allocations: 0 / 430.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004519/0.1204, allocations: 103.8 kB / 430.2 MB, free: 0.5078 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.0006449/0.121, allocations: 261.5 kB / 430.5 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007888/0.1218, allocations: 269.1 kB / 430.8 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1218, allocations: 8.062 kB / 430.8 MB, free: 0 / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.1221, allocations: 110.5 kB / 430.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1225, allocations: 32.47 kB / 430.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00099/0.1234, allocations: 499.5 kB / 431.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1238, allocations: 0.732 MB / 432.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.566e-05/0.1239, allocations: 31.42 kB / 432.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1239, allocations: 0 / 432.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of Templates: time 0.007161/0.1311, allocations: 4.08 MB / 436.2 MB, free: 10.48 MB / 366.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.694299856899306]