Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009957/0.0009959, allocations: 174.2 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007946/0.0007944, allocations: 90.34 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003023, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2455, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.002058/0.2477, allocations: 1.512 MB / 376.6 MB, free: 44.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.2493, allocations: 0.9483 MB / 377.5 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.2495, allocations: 2.219 kB / 377.6 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.2496, allocations: 7.875 kB / 377.6 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.2498, allocations: 23.14 kB / 377.6 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005188/0.2503, allocations: 148.2 kB / 377.7 MB, free: 43.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.2505, allocations: 190.4 kB / 377.9 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.2507, allocations: 68.97 kB / 378 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.631e-05/0.2508, allocations: 72.81 kB / 378.1 MB, free: 43.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.251, allocations: 97.55 kB / 378.1 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.251, allocations: 10 kB / 378.2 MB, free: 43.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.2513, allocations: 124 kB / 378.3 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.2513, allocations: 49.03 kB / 378.3 MB, free: 43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.531e-05/0.2514, allocations: 100.8 kB / 378.4 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.2517, allocations: 211.1 kB / 378.6 MB, free: 42.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2518, allocations: 0 / 378.6 MB, free: 42.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2518, allocations: 0 / 378.6 MB, free: 42.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.2518, allocations: 0.9375 kB / 378.6 MB, free: 42.77 MB / 298.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.001059/0.2528, allocations: 0.5471 MB / 379.2 MB, free: 42.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.2529, allocations: 8.969 kB / 379.2 MB, free: 42.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.2531, allocations: 33.73 kB / 379.2 MB, free: 42.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.2533, allocations: 238.3 kB / 379.5 MB, free: 42.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.2534, allocations: 21.2 kB / 379.5 MB, free: 42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.2534, allocations: 28.91 kB / 379.5 MB, free: 41.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.2539, allocations: 222.7 kB / 379.7 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2539, allocations: 0 / 379.7 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.254, allocations: 5.281 kB / 379.7 MB, free: 41.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.254, allocations: 3.5 kB / 379.7 MB, free: 41.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.2544, allocations: 182.5 kB / 379.9 MB, free: 41.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009755/0.2554, allocations: 0.5814 MB / 380.5 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.2566, allocations: 377.5 kB / 380.9 MB, free: 41.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.2569, allocations: 138.1 kB / 381 MB, free: 41.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.2569, allocations: 5.219 kB / 381 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003968/0.2573, allocations: 184.3 kB / 381.2 MB, free: 40.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.984e-06/0.2573, allocations: 0 / 381.2 MB, free: 40.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001009/0.2583, allocations: 411.2 kB / 381.6 MB, free: 40.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.2584, allocations: 60.86 kB / 381.6 MB, free: 40.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.2586, allocations: 213.4 kB / 381.8 MB, free: 40.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.2586, allocations: 40.16 kB / 381.9 MB, free: 40.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.2587, allocations: 129.5 kB / 382 MB, free: 40.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.2588, allocations: 72.33 kB / 382.1 MB, free: 40.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/0.2588, allocations: 5.25 kB / 382.1 MB, free: 40.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.786e-05/0.2589, allocations: 332.6 kB / 382.4 MB, free: 39.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.2592, allocations: 155.8 kB / 382.6 MB, free: 39.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.2596, allocations: 175.4 kB / 382.7 MB, free: 39.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00063/0.2602, allocations: 304.8 kB / 383 MB, free: 39.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2602, allocations: 3.938 kB / 383 MB, free: 39.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008019/0.261, allocations: 412.2 kB / 383.4 MB, free: 39.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.2611, allocations: 6.531 kB / 383.4 MB, free: 39.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2611, allocations: 1.156 kB / 383.4 MB, free: 39.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2611, allocations: 1.312 kB / 383.4 MB, free: 39.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.2614, allocations: 77.61 kB / 383.5 MB, free: 39.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.2614, allocations: 14.19 kB / 383.5 MB, free: 39.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.2616, allocations: 50.73 kB / 383.6 MB, free: 39.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.2616, allocations: 11.23 kB / 383.6 MB, free: 39.43 MB / 298.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.2618, allocations: 152.6 kB / 383.7 MB, free: 39.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.2618, allocations: 19.5 kB / 383.8 MB, free: 39.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/0.2619, allocations: 26.14 kB / 383.8 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2619, allocations: 6.453 kB / 383.8 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2619, allocations: 0 / 383.8 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2619, allocations: 0 / 383.8 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.263, allocations: 0.6817 MB / 384.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.263, allocations: 0.9688 kB / 384.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.2633, allocations: 53.95 kB / 384.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2633, allocations: 5.25 kB / 384.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.2633, allocations: 6.75 kB / 384.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2633, allocations: 1.25 kB / 384.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2633, allocations: 0 / 384.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.2643, allocations: 0.5371 MB / 385.1 MB, free: 38.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.2644, allocations: 103.4 kB / 385.2 MB, free: 38.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.2644, allocations: 12 kB / 385.2 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.2646, allocations: 31.97 kB / 385.2 MB, free: 38.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.2647, allocations: 15.98 kB / 385.2 MB, free: 38.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.2647, allocations: 7.984 kB / 385.2 MB, free: 38.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.2648, allocations: 147.2 kB / 385.4 MB, free: 38.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2648, allocations: 0 / 385.4 MB, free: 38.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003686/0.2652, allocations: 72 kB / 385.5 MB, free: 38 MB / 298.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]) * 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 (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.0004498/0.2657, allocations: 220.2 kB / 385.7 MB, free: 37.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006509/0.2663, allocations: 323.7 kB / 386 MB, free: 37.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2663, allocations: 0 / 386 MB, free: 37.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.2666, allocations: 131.9 kB / 386.1 MB, free: 37.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.2669, allocations: 27.92 kB / 386.2 MB, free: 37.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007767/0.2677, allocations: 0.5468 MB / 386.7 MB, free: 36.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.2679, allocations: 0.7398 MB / 387.4 MB, free: 35.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/0.268, allocations: 31.42 kB / 387.5 MB, free: 35.96 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.268, allocations: 0 / 387.5 MB, free: 35.96 MB / 298.7 MB Notification: Performance of Templates: time 0.004611/0.2726, allocations: 3.43 MB / 390.9 MB, free: 32.53 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat","/var/lib/jenkins/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_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches