Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001436/0.001436, allocations: 121 kB / 18.41 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001638/0.001638, allocations: 208.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 64.48 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1085, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003848/0.1124, allocations: 1.86 MB / 360.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.1148, allocations: 1.298 MB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1149, allocations: 4 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.1151, allocations: 19.69 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.1152, allocations: 31.72 kB / 362.1 MB, free: 10.11 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0008323/0.1161, allocations: 311.1 kB / 362.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.1164, allocations: 215.5 kB / 362.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.1165, allocations: 72.23 kB / 362.7 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.1167, allocations: 99.61 kB / 362.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006218/0.1173, allocations: 114.8 kB / 362.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.1173, allocations: 28 kB / 362.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004051/0.1178, allocations: 279.6 kB / 363.2 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.821e-05/0.1178, allocations: 55.77 kB / 363.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.118, allocations: 103.4 kB / 363.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005094/0.1185, allocations: 394.9 kB / 363.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1185, allocations: 0 / 363.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1185, allocations: 0 / 363.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1185, allocations: 0 / 363.8 MB, free: 8.477 MB / 302.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.001234/0.1197, allocations: 0.5739 MB / 364.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1198, allocations: 12.03 kB / 364.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.12, allocations: 32.64 kB / 364.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.1203, allocations: 248.5 kB / 364.6 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.1204, allocations: 12.66 kB / 364.6 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.1204, allocations: 28.11 kB / 364.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/0.1209, allocations: 206.6 kB / 364.9 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1209, allocations: 0 / 364.9 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.1209, allocations: 4 kB / 364.9 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.1209, allocations: 4 kB / 364.9 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.1214, allocations: 160.4 kB / 365 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.1225, allocations: 0.5633 MB / 365.6 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.1235, allocations: 310.6 kB / 365.9 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.1238, allocations: 112.7 kB / 366 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1239, allocations: 4 kB / 366 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/0.1243, allocations: 171.1 kB / 366.2 MB, free: 5.895 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.663e-06/0.1243, allocations: 0 / 366.2 MB, free: 5.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0009849/0.1253, allocations: 356.8 kB / 366.5 MB, free: 5.543 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.1253, allocations: 55.41 kB / 366.6 MB, free: 5.477 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.1256, allocations: 222.7 kB / 366.8 MB, free: 5.246 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.1256, allocations: 37.69 kB / 366.8 MB, free: 5.203 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.887e-05/0.1257, allocations: 136.5 kB / 367 MB, free: 5.062 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/0.1258, allocations: 67 kB / 367 MB, free: 4.996 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.1259, allocations: 73.69 kB / 367.1 MB, free: 4.918 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.126, allocations: 330.8 kB / 367.4 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.1264, allocations: 127.9 kB / 367.5 MB, free: 4.461 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.1267, allocations: 177.5 kB / 367.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/0.1274, allocations: 267.2 kB / 368 MB, free: 4.012 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1274, allocations: 4 kB / 368 MB, free: 4.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008147/0.1282, allocations: 379.7 kB / 368.4 MB, free: 3.633 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1282, allocations: 11.12 kB / 368.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1282, allocations: 0 / 368.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1283, allocations: 4.031 kB / 368.4 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.1286, allocations: 67.89 kB / 368.4 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1286, allocations: 3.984 kB / 368.4 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.1288, allocations: 43.67 kB / 368.5 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.1288, allocations: 11.98 kB / 368.5 MB, free: 3.496 MB / 302.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.129, allocations: 153.6 kB / 368.6 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.129, allocations: 19.75 kB / 368.7 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.857e-05/0.1291, allocations: 21.86 kB / 368.7 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1291, allocations: 0 / 368.7 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1291, allocations: 0 / 368.7 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1291, allocations: 0 / 368.7 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.1302, allocations: 0.6346 MB / 369.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1302, allocations: 3.938 kB / 369.3 MB, free: 2.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.1305, allocations: 43.95 kB / 369.4 MB, free: 2.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1305, allocations: 0 / 369.4 MB, free: 2.551 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.1305, allocations: 8 kB / 369.4 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1305, allocations: 0 / 369.4 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.1305, allocations: 11.97 kB / 369.4 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009918/0.1315, allocations: 487 kB / 369.9 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.1316, allocations: 92.98 kB / 370 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.1316, allocations: 7.938 kB / 370 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.1318, allocations: 23.97 kB / 370 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.1319, allocations: 19.97 kB / 370 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1319, allocations: 4 kB / 370 MB, free: 1.879 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.1321, allocations: 156.7 kB / 370.2 MB, free: 1.727 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1321, allocations: 0 / 370.2 MB, free: 1.727 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004995/0.1326, allocations: 103.8 kB / 370.3 MB, free: 1.625 MB / 302.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 (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.0006507/0.1332, allocations: 252 kB / 370.5 MB, free: 1.391 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007976/0.134, allocations: 286.5 kB / 370.8 MB, free: 1.113 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1341, allocations: 3.938 kB / 370.8 MB, free: 1.109 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.1344, allocations: 111.8 kB / 370.9 MB, free: 1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.1347, allocations: 37.38 kB / 370.9 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1359, allocations: 462.7 kB / 371.4 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1924/0.3282, allocations: 0.7334 MB / 372.1 MB, free: 19.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000236/0.3285, allocations: 31.03 kB / 372.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.965e-05/0.3286, allocations: 25.86 kB / 372.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of SimCode: time 1.243e-06/0.3286, allocations: 6.188 kB / 372.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of Templates: time 0.01004/0.3387, allocations: 3.56 MB / 375.7 MB, free: 19.45 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.mu,standardDeviation.variance.mu,standardDeviation.variance.var,variance.mu,variance.var,meanError_y,sigmaError_y Variables in the result:globalSeed.enableNoise,globalSeed.fixedSeed,globalSeed.seed,globalSeed.useAutomaticSeed,mean.actualStartTime,mean.mu,mean.startTime,mean.t_0,mean.t_eps,meanError.u2,meanError_y,mu,noise.actualGlobalSeed,noise.enableNoise,noise.fixedLocalSeed,noise.generateNoise,noise.localSeed,noise.mu,noise.samplePeriod,noise.sigma,noise.startTime,noise.useAutomaticLocalSeed,noise.useGlobalSeed,noise.y_off,pMean,sigma,sigmaError.u2,sigmaError_y,standardDeviation.t_eps,standardDeviation.variance.mu,standardDeviation.variance.t_0,standardDeviation.variance.t_eps,standardDeviation.variance.var,std,theoreticalMean.k,theoreticalMean.y,theoreticalSigma.k,theoreticalSigma.y,theoreticalVariance.significantDigits,theoreticalVariance.u[1],theoreticalVariance.u[2],time,var,variance.mu,variance.t_0,variance.t_eps,variance.var