Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 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.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 114.4 kB / 17.73 MB, free: 5.359 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.001013/0.001013, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.784/1.784, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001185/0.001185, allocations: 47.92 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1371, allocations: 46.62 MB / 375.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003787/0.1409, allocations: 1.828 MB / 377 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.1435, allocations: 1.275 MB / 378.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.1436, allocations: 4 kB / 378.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.1438, allocations: 15.75 kB / 378.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.79e-05/0.1439, allocations: 31.67 kB / 378.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009817/0.1449, allocations: 323.1 kB / 378.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.1452, allocations: 219.5 kB / 378.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.1454, allocations: 64.25 kB / 378.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1455, allocations: 99.61 kB / 379 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.1457, allocations: 115.5 kB / 379.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.1458, allocations: 23.94 kB / 379.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004844/0.1463, allocations: 287.5 kB / 379.4 MB, free: 292 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.559e-05/0.1464, allocations: 55.81 kB / 379.5 MB, free: 236 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1465, allocations: 107.4 kB / 379.6 MB, free: 128 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3077/0.4542, allocations: 390.6 kB / 380 MB, free: 10.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.4543, allocations: 0.6094 kB / 380 MB, free: 10.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4543, allocations: 1.781 kB / 380 MB, free: 10.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.4543, allocations: 1.375 kB / 380 MB, free: 10.25 MB / 318.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.001549/0.4559, allocations: 0.5769 MB / 380.5 MB, free: 9.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.4559, allocations: 8.781 kB / 380.5 MB, free: 9.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.4562, allocations: 34.66 kB / 380.6 MB, free: 9.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.4564, allocations: 234.9 kB / 380.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.4565, allocations: 15.34 kB / 380.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.4565, allocations: 23.62 kB / 380.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005475/0.4571, allocations: 197.6 kB / 381 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4571, allocations: 3.938 kB / 381 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.4571, allocations: 5.656 kB / 381 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.4572, allocations: 3.938 kB / 381.1 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004859/0.4577, allocations: 146.7 kB / 381.2 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.4587, allocations: 0.5725 MB / 381.8 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.46, allocations: 304.3 kB / 382.1 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004112/0.4604, allocations: 118.6 kB / 382.2 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.4604, allocations: 8.781 kB / 382.2 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005533/0.461, allocations: 166.9 kB / 382.4 MB, free: 9.203 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.461, allocations: 0.625 kB / 382.4 MB, free: 9.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.0014/0.4624, allocations: 356 kB / 382.7 MB, free: 9.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.4625, allocations: 61.5 kB / 382.8 MB, free: 9.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.4628, allocations: 217.1 kB / 383 MB, free: 8.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.4628, allocations: 37.53 kB / 383 MB, free: 8.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.4629, allocations: 133.5 kB / 383.1 MB, free: 8.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.463, allocations: 66.2 kB / 383.2 MB, free: 8.812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.4631, allocations: 70.14 kB / 383.3 MB, free: 8.797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4633, allocations: 335.1 kB / 383.6 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.4637, allocations: 131 kB / 383.7 MB, free: 8.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004202/0.4641, allocations: 163 kB / 383.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.4648, allocations: 269.1 kB / 384.1 MB, free: 8.438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4648, allocations: 2.656 kB / 384.2 MB, free: 8.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008867/0.4657, allocations: 379.9 kB / 384.5 MB, free: 8.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4657, allocations: 10.41 kB / 384.5 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.4657, allocations: 0 / 384.5 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.4658, allocations: 1.688 kB / 384.5 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.4661, allocations: 73.48 kB / 384.6 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.4661, allocations: 1.281 kB / 384.6 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.4663, allocations: 44.12 kB / 384.7 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.4663, allocations: 15.19 kB / 384.7 MB, free: 8.359 MB / 318.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.0001432/0.4665, allocations: 148.6 kB / 384.8 MB, free: 8.238 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.4665, allocations: 21.55 kB / 384.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/0.4666, allocations: 22.09 kB / 384.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.4666, allocations: 3.641 kB / 384.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.4666, allocations: 0 / 384.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.4666, allocations: 6.844 kB / 384.9 MB, free: 8.215 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.4679, allocations: 0.6313 MB / 385.5 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4679, allocations: 5.125 kB / 385.5 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.4682, allocations: 42.3 kB / 385.5 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4682, allocations: 1.688 kB / 385.5 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.4682, allocations: 8.812 kB / 385.6 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.4682, allocations: 1.781 kB / 385.6 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4682, allocations: 3.469 kB / 385.6 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.4693, allocations: 489 kB / 386 MB, free: 7.746 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.4694, allocations: 100.2 kB / 386.1 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.4694, allocations: 13.52 kB / 386.1 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.4696, allocations: 23.78 kB / 386.2 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.4697, allocations: 14.3 kB / 386.2 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.4697, allocations: 5.469 kB / 386.2 MB, free: 7.633 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.4699, allocations: 148.1 kB / 386.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4699, allocations: 3.75 kB / 386.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000611/0.4705, allocations: 103.2 kB / 386.4 MB, free: 7.543 MB / 318.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.0006923/0.4712, allocations: 289.5 kB / 386.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008374/0.472, allocations: 276.3 kB / 387 MB, free: 7.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.472, allocations: 3.469 kB / 387 MB, free: 7.395 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.4724, allocations: 113.5 kB / 387.1 MB, free: 7.391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.4728, allocations: 34.89 kB / 387.1 MB, free: 7.383 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009897/0.4738, allocations: 458.9 kB / 387.6 MB, free: 7.145 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.474, allocations: 0.7348 MB / 388.3 MB, free: 6.445 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.4741, allocations: 33.55 kB / 388.4 MB, free: 6.438 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.132e-05/0.4742, allocations: 22.91 kB / 388.4 MB, free: 6.43 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4742, allocations: 0 / 388.4 MB, free: 6.43 MB / 318.1 MB Notification: Performance of Templates: time 0.01055/0.4848, allocations: 3.782 MB / 392.2 MB, free: 6.105 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches