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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 176.1 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 221.5 MB / 230.3 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009214/0.0009214, allocations: 107.7 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.715e-05/1.709e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, allocations: 50.42 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/0.4974, allocations: 79.05 MB / 466.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.4977, allocations: 75.95 kB / 466.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01918/0.5169, allocations: 6.676 MB / 473.3 MB, free: 9.047 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.517, allocations: 0 / 473.3 MB, free: 9.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.517, allocations: 4 kB / 473.3 MB, free: 9.043 MB / 346.7 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.0009416/0.518, allocations: 0.5405 MB / 473.8 MB, free: 8.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.518, allocations: 15.98 kB / 473.8 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.5182, allocations: 31.7 kB / 473.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.5185, allocations: 239.6 kB / 474.1 MB, free: 8.133 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.5185, allocations: 4 kB / 474.1 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.5186, allocations: 12 kB / 474.1 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002143/0.5188, allocations: 96.25 kB / 474.2 MB, free: 8.023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.5191, allocations: 143.3 kB / 474.3 MB, free: 7.879 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.5191, allocations: 7.875 kB / 474.3 MB, free: 7.871 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.5192, allocations: 0 / 474.3 MB, free: 7.871 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.5192, allocations: 4 kB / 474.3 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009759/0.5201, allocations: 0.5401 MB / 474.9 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005839/0.5207, allocations: 236.6 kB / 475.1 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.5209, allocations: 69.05 kB / 475.2 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.5209, allocations: 0 / 475.2 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.5211, allocations: 136.8 kB / 475.3 MB, free: 6.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.343e-06/0.5211, allocations: 0 / 475.3 MB, free: 6.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003617/0.5215, allocations: 180 kB / 475.5 MB, free: 6.652 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.5216, allocations: 63.58 kB / 475.6 MB, free: 6.578 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.5217, allocations: 170.2 kB / 475.7 MB, free: 6.402 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.5218, allocations: 33.7 kB / 475.8 MB, free: 6.363 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.5219, allocations: 124.6 kB / 475.9 MB, free: 6.238 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.652e-05/0.5219, allocations: 74.91 kB / 476 MB, free: 6.164 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.522, allocations: 0 / 476 MB, free: 6.164 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5221, allocations: 334.8 kB / 476.3 MB, free: 5.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.5222, allocations: 76 kB / 476.4 MB, free: 5.754 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.5224, allocations: 117.4 kB / 476.5 MB, free: 5.633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.5226, allocations: 101.1 kB / 476.6 MB, free: 5.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5226, allocations: 0 / 476.6 MB, free: 5.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004502/0.5231, allocations: 272 kB / 476.8 MB, free: 5.262 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.5231, allocations: 5.25 kB / 476.8 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.5231, allocations: 4 kB / 476.8 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.5232, allocations: 4 kB / 476.8 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.5235, allocations: 79.91 kB / 476.9 MB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5235, allocations: 0 / 476.9 MB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.5237, allocations: 43.72 kB / 477 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.5237, allocations: 15.95 kB / 477 MB, free: 5.113 MB / 346.7 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,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.5238, allocations: 116.9 kB / 477.1 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.5239, allocations: 19.8 kB / 477.1 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.5239, allocations: 13.97 kB / 477.1 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.5239, allocations: 4 kB / 477.1 MB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5239, allocations: 0 / 477.1 MB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5239, allocations: 0 / 477.1 MB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007656/0.5247, allocations: 0.5444 MB / 477.7 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5247, allocations: 3.938 kB / 477.7 MB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.525, allocations: 59.89 kB / 477.7 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.525, allocations: 0 / 477.7 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.525, allocations: 0 / 477.7 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.525, allocations: 4 kB / 477.7 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.525, allocations: 0 / 477.7 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.5255, allocations: 371.6 kB / 478.1 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.5256, allocations: 92.91 kB / 478.2 MB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.5256, allocations: 8.062 kB / 478.2 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.5258, allocations: 31.91 kB / 478.2 MB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.5259, allocations: 11.98 kB / 478.2 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.5259, allocations: 11.97 kB / 478.3 MB, free: 3.754 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.501e-05/0.526, allocations: 127.2 kB / 478.4 MB, free: 3.629 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.526, allocations: 0 / 478.4 MB, free: 3.629 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005361/0.5266, allocations: 131.7 kB / 478.5 MB, free: 3.5 MB / 346.7 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]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008056/0.5274, allocations: 304.7 kB / 478.8 MB, free: 3.219 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003591/0.5278, allocations: 217.6 kB / 479 MB, free: 3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5278, allocations: 0 / 479 MB, free: 3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.5279, allocations: 83.98 kB / 479.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.5282, allocations: 19.97 kB / 479.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.5287, allocations: 320.7 kB / 479.4 MB, free: 2.566 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.529, allocations: 0.7477 MB / 480.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.5291, allocations: 25.86 kB / 480.2 MB, free: 1.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.426e-05/0.5292, allocations: 27.42 kB / 480.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5292, allocations: 0 / 480.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of Templates: time 0.007146/0.5363, allocations: 3.47 MB / 483.7 MB, free: 14.3 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches