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) 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 4.0.0+maint.om/package.mo", uses=false) 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=10000,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=10000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 111.5 kB / 17.29 MB, free: 6.219 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.001481/0.001481, allocations: 193.3 kB / 18.21 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 51.05 kB / 300.8 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09137/0.09257, allocations: 49.45 MB / 350.2 MB, free: 4.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003299/0.0959, allocations: 1.898 MB / 352.1 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.0981, allocations: 1.24 MB / 353.4 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.09827, allocations: 4 kB / 353.4 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.09848, allocations: 15.8 kB / 353.4 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.09861, allocations: 19.84 kB / 353.4 MB, free: 1.473 MB / 286.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.001017/0.09964, allocations: 271.5 kB / 353.7 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.09993, allocations: 215.5 kB / 353.9 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.1001, allocations: 76.11 kB / 354 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1003, allocations: 91.58 kB / 354.1 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006395/0.1009, allocations: 126.6 kB / 354.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.246e-05/0.101, allocations: 20 kB / 354.2 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005421/0.1016, allocations: 303.4 kB / 354.5 MB, free: 404 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.487e-05/0.1017, allocations: 59.81 kB / 354.6 MB, free: 344 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.1018, allocations: 99.41 kB / 354.7 MB, free: 244 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004427/0.1022, allocations: 275.7 kB / 354.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1022, allocations: 0 / 354.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1023, allocations: 0 / 354.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1023, allocations: 0 / 354.9 MB, free: 15.97 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.001116/0.1034, allocations: 0.5701 MB / 355.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1034, allocations: 8.031 kB / 355.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.1037, allocations: 36.64 kB / 355.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.1039, allocations: 237.6 kB / 355.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.104, allocations: 20.16 kB / 355.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.104, allocations: 24 kB / 355.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004766/0.1045, allocations: 194.9 kB / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1045, allocations: 0 / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.1046, allocations: 4 kB / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1046, allocations: 4 kB / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005068/0.1051, allocations: 156.4 kB / 356.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.1061, allocations: 0.5784 MB / 356.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009955/0.1071, allocations: 311.9 kB / 357 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.1075, allocations: 112.8 kB / 357.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1075, allocations: 11.98 kB / 357.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003867/0.1079, allocations: 159.3 kB / 357.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.324e-06/0.1079, allocations: 0 / 357.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009818/0.1089, allocations: 362.6 kB / 357.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.1089, allocations: 55.41 kB / 357.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.1092, allocations: 215.6 kB / 357.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.1092, allocations: 45.69 kB / 358 MB, free: 12.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.1093, allocations: 124.7 kB / 358.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.003e-05/0.1094, allocations: 78.91 kB / 358.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.1095, allocations: 61.69 kB / 358.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1096, allocations: 342.8 kB / 358.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.11, allocations: 131.9 kB / 358.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.1103, allocations: 154.5 kB / 358.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005938/0.1109, allocations: 272.3 kB / 359.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.111, allocations: 3.938 kB / 359.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007672/0.1117, allocations: 370.8 kB / 359.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1118, allocations: 6.188 kB / 359.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1118, allocations: 4 kB / 359.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1118, allocations: 0 / 359.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.1121, allocations: 63.89 kB / 359.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.1121, allocations: 7.984 kB / 359.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.1123, allocations: 39.72 kB / 359.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.1123, allocations: 15.94 kB / 359.6 MB, free: 11.03 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.0001575/0.1125, allocations: 145.6 kB / 359.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.1125, allocations: 15.81 kB / 359.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.91e-05/0.1126, allocations: 25.86 kB / 359.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1126, allocations: 3.938 kB / 359.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1126, allocations: 4 kB / 359.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.1127, allocations: 4 kB / 359.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.1139, allocations: 0.6463 MB / 360.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.1139, allocations: 7.938 kB / 360.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.1141, allocations: 47.89 kB / 360.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1141, allocations: 0 / 360.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.1142, allocations: 4 kB / 360.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1142, allocations: 0 / 360.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1142, allocations: 0 / 360.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009529/0.1151, allocations: 492.9 kB / 361 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.1152, allocations: 92.86 kB / 361.1 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.1153, allocations: 12.05 kB / 361.1 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.1155, allocations: 23.98 kB / 361.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.1155, allocations: 7.984 kB / 361.1 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.1155, allocations: 11.98 kB / 361.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.1157, allocations: 147.2 kB / 361.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1157, allocations: 0 / 361.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004276/0.1161, allocations: 99.89 kB / 361.4 MB, free: 9.164 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 (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.0006164/0.1167, allocations: 257.5 kB / 361.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007569/0.1175, allocations: 303.6 kB / 361.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1175, allocations: 0 / 361.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.1178, allocations: 119.9 kB / 362.1 MB, free: 8.516 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1182, allocations: 28.11 kB / 362.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009198/0.1191, allocations: 0.5416 MB / 362.6 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.1195, allocations: 0.7359 MB / 363.4 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.109e-05/0.1196, allocations: 23.42 kB / 363.4 MB, free: 7.133 MB / 302.1 MB Notification: Performance of SimCode: time 1.854e-06/0.1196, allocations: 0 / 363.4 MB, free: 7.133 MB / 302.1 MB Notification: Performance of Templates: time 0.007242/0.1268, allocations: 4.061 MB / 367.4 MB, free: 3.074 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (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) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches