Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.UniformNoiseProperties,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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 108.7 kB / 17.93 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 197.8 kB / 18.86 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.1 MB / 224.7 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 51.92 kB / 280.8 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0938/0.09497, allocations: 46.64 MB / 327.4 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.002878/0.09789, allocations: 1.902 MB / 329.3 MB, free: 2.871 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.0995, allocations: 0.9941 MB / 330.3 MB, free: 1.867 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.31e-05/0.09962, allocations: 4 kB / 330.3 MB, free: 1.863 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.09975, allocations: 15.8 kB / 330.4 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.09992, allocations: 27.84 kB / 330.4 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.1004, allocations: 155.7 kB / 330.5 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.1007, allocations: 223.5 kB / 330.8 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.1008, allocations: 68.05 kB / 330.8 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.677e-05/0.1009, allocations: 95.62 kB / 330.9 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.1011, allocations: 119.5 kB / 331 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.1011, allocations: 27.94 kB / 331.1 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.1013, allocations: 131.9 kB / 331.2 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.64e-05/0.1014, allocations: 67.75 kB / 331.2 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.372e-05/0.1015, allocations: 95.45 kB / 331.3 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.1018, allocations: 215.8 kB / 331.6 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1018, allocations: 3.938 kB / 331.6 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.1018, allocations: 4 kB / 331.6 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1018, allocations: 7.938 kB / 331.6 MB, free: 0.6289 MB / 270.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.001068/0.1029, allocations: 0.5506 MB / 332.1 MB, free: 32 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1029, allocations: 8.031 kB / 332.1 MB, free: 24 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.1032, allocations: 40.64 kB / 332.2 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.1034, allocations: 236.7 kB / 332.4 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.1034, allocations: 12.66 kB / 332.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.1035, allocations: 28.36 kB / 332.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/0.104, allocations: 199 kB / 332.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.104, allocations: 0 / 332.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.104, allocations: 7.938 kB / 332.6 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.104, allocations: 8 kB / 332.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.1044, allocations: 152.1 kB / 332.8 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009265/0.1054, allocations: 0.57 MB / 333.4 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009619/0.1063, allocations: 314.6 kB / 333.7 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.1066, allocations: 116.7 kB / 333.8 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.1067, allocations: 4 kB / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003838/0.107, allocations: 163.3 kB / 334 MB, free: 14.08 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.1071, allocations: 0 / 334 MB, free: 14.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009191/0.108, allocations: 360.5 kB / 334.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.108, allocations: 59.41 kB / 334.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1082, allocations: 215.7 kB / 334.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.1083, allocations: 37.7 kB / 334.6 MB, free: 13.39 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.1084, allocations: 128.7 kB / 334.7 MB, free: 13.26 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.919e-05/0.1084, allocations: 70.92 kB / 334.8 MB, free: 13.19 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.715e-05/0.1085, allocations: 69.69 kB / 334.9 MB, free: 13.11 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1087, allocations: 334.8 kB / 335.2 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.109, allocations: 127.9 kB / 335.3 MB, free: 12.65 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.1093, allocations: 165.6 kB / 335.5 MB, free: 12.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005649/0.1099, allocations: 268.6 kB / 335.7 MB, free: 12.22 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.1099, allocations: 3.938 kB / 335.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007435/0.1106, allocations: 374.7 kB / 336.1 MB, free: 11.84 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1107, allocations: 11.94 kB / 336.1 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.1107, allocations: 0 / 336.1 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1107, allocations: 0 / 336.1 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.111, allocations: 83.84 kB / 336.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.111, allocations: 0 / 336.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.1112, allocations: 35.73 kB / 336.2 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.1112, allocations: 15.98 kB / 336.3 MB, free: 11.7 MB / 286.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.0001398/0.1114, allocations: 141.6 kB / 336.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.1114, allocations: 19.81 kB / 336.4 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.895e-05/0.1115, allocations: 29.84 kB / 336.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1115, allocations: 4 kB / 336.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1115, allocations: 0 / 336.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1115, allocations: 0 / 336.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.1126, allocations: 0.6391 MB / 337.1 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1126, allocations: 3.938 kB / 337.1 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.1128, allocations: 43.95 kB / 337.1 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1129, allocations: 0 / 337.1 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.1129, allocations: 4 kB / 337.1 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1129, allocations: 4 kB / 337.1 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1129, allocations: 4 kB / 337.1 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009398/0.1138, allocations: 487.3 kB / 337.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.1139, allocations: 96.84 kB / 337.7 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.1139, allocations: 16 kB / 337.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.1141, allocations: 19.97 kB / 337.8 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.1142, allocations: 11.98 kB / 337.8 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.1142, allocations: 7.984 kB / 337.8 MB, free: 10.08 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.1143, allocations: 159.2 kB / 337.9 MB, free: 9.926 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1143, allocations: 0 / 337.9 MB, free: 9.926 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003549/0.1147, allocations: 63.91 kB / 338 MB, free: 9.863 MB / 286.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.0004513/0.1152, allocations: 225 kB / 338.2 MB, free: 9.645 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007209/0.1159, allocations: 303.4 kB / 338.5 MB, free: 9.348 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1159, allocations: 0 / 338.5 MB, free: 9.348 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.1162, allocations: 111.8 kB / 338.6 MB, free: 9.238 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.1166, allocations: 31.88 kB / 338.6 MB, free: 9.207 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008668/0.1174, allocations: 0.5317 MB / 339.2 MB, free: 8.645 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.1177, allocations: 0.7398 MB / 339.9 MB, free: 7.879 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.1178, allocations: 27.42 kB / 339.9 MB, free: 7.852 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1178, allocations: 0 / 339.9 MB, free: 7.852 MB / 286.1 MB Notification: Performance of Templates: time 0.005457/0.1233, allocations: 3.481 MB / 343.4 MB, free: 4.367 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoiseProperties/UniformNoiseProperties.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches