Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.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_cpp_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_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008966/0.0008965, allocations: 179.9 kB / 16.41 MB, free: 5.707 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.533/1.533, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008089/0.0008089, allocations: 86.3 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003288, allocations: 12 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.265, allocations: 47.57 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.001924/0.267, allocations: 1.507 MB / 376.1 MB, free: 44.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.269, allocations: 1.203 MB / 377.3 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.999e-05/0.2691, allocations: 2.125 kB / 377.3 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.2692, allocations: 11.86 kB / 377.3 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.103e-05/0.2693, allocations: 14.91 kB / 377.3 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007298/0.27, allocations: 249.2 kB / 377.5 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.2702, allocations: 185.9 kB / 377.7 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.2704, allocations: 63.05 kB / 377.8 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.2705, allocations: 72.52 kB / 377.8 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.2706, allocations: 92.69 kB / 377.9 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.2707, allocations: 10.47 kB / 377.9 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004783/0.2712, allocations: 304 kB / 378.2 MB, free: 42.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.2712, allocations: 40.52 kB / 378.3 MB, free: 42.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.783e-05/0.2713, allocations: 52.83 kB / 378.3 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.2717, allocations: 271.1 kB / 378.6 MB, free: 42.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.2717, allocations: 0 / 378.6 MB, free: 42.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.2717, allocations: 1.031 kB / 378.6 MB, free: 42.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.2717, allocations: 0 / 378.6 MB, free: 42.46 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.001137/0.2728, allocations: 0.568 MB / 379.2 MB, free: 41.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.2729, allocations: 9.531 kB / 379.2 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.2731, allocations: 33.92 kB / 379.2 MB, free: 41.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.2734, allocations: 237 kB / 379.4 MB, free: 41.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.2734, allocations: 16.97 kB / 379.5 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.2735, allocations: 16.94 kB / 379.5 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.274, allocations: 220.6 kB / 379.7 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.274, allocations: 0 / 379.7 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.274, allocations: 9.109 kB / 379.7 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.274, allocations: 8.062 kB / 379.7 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.2745, allocations: 175.1 kB / 379.9 MB, free: 41.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.2756, allocations: 0.5795 MB / 380.5 MB, free: 40.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.2769, allocations: 381.2 kB / 380.8 MB, free: 40.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003891/0.2773, allocations: 137.5 kB / 381 MB, free: 40.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.2773, allocations: 2.031 kB / 381 MB, free: 40.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005218/0.2778, allocations: 193.3 kB / 381.2 MB, free: 40.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.2779, allocations: 3.938 kB / 381.2 MB, free: 40.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001127/0.279, allocations: 414 kB / 381.6 MB, free: 40.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.279, allocations: 65.27 kB / 381.6 MB, free: 40.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.2792, allocations: 204.3 kB / 381.8 MB, free: 40.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.2793, allocations: 36.08 kB / 381.9 MB, free: 40.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/0.2794, allocations: 133.2 kB / 382 MB, free: 40.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.2794, allocations: 72.66 kB / 382.1 MB, free: 39.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.525e-05/0.2795, allocations: 5.406 kB / 382.1 MB, free: 39.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.691e-05/0.2795, allocations: 336.5 kB / 382.4 MB, free: 39.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.2799, allocations: 143.2 kB / 382.5 MB, free: 39.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.2803, allocations: 184.2 kB / 382.7 MB, free: 39.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.2807, allocations: 160.9 kB / 382.9 MB, free: 39.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2807, allocations: 0 / 382.9 MB, free: 39.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008755/0.2816, allocations: 408.9 kB / 383.3 MB, free: 39.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2816, allocations: 10 kB / 383.3 MB, free: 39.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2816, allocations: 0 / 383.3 MB, free: 39.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2817, allocations: 1.969 kB / 383.3 MB, free: 39.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.282, allocations: 78.17 kB / 383.4 MB, free: 39.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.282, allocations: 1.031 kB / 383.4 MB, free: 39.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.2822, allocations: 55.94 kB / 383.4 MB, free: 39.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.2823, allocations: 14.73 kB / 383.4 MB, free: 39.2 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.000138/0.2824, allocations: 140.9 kB / 383.6 MB, free: 39.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.2825, allocations: 27.36 kB / 383.6 MB, free: 39.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.521e-05/0.2825, allocations: 26.23 kB / 383.6 MB, free: 39.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2825, allocations: 9.062 kB / 383.6 MB, free: 39.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.2826, allocations: 1.062 kB / 383.6 MB, free: 39.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2826, allocations: 0 / 383.6 MB, free: 39.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.2839, allocations: 0.6702 MB / 384.3 MB, free: 38.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2839, allocations: 0 / 384.3 MB, free: 38.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.2842, allocations: 58.39 kB / 384.4 MB, free: 38.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2842, allocations: 0.9688 kB / 384.4 MB, free: 38.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.2843, allocations: 6.562 kB / 384.4 MB, free: 38.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.2843, allocations: 1.094 kB / 384.4 MB, free: 38.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2843, allocations: 0 / 384.4 MB, free: 38.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.2855, allocations: 0.5417 MB / 384.9 MB, free: 38.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.2856, allocations: 100.8 kB / 385 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.2856, allocations: 16.05 kB / 385 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.2858, allocations: 27.98 kB / 385.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/0.2859, allocations: 19.97 kB / 385.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.2859, allocations: 4 kB / 385.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.2861, allocations: 151.1 kB / 385.2 MB, free: 37.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2861, allocations: 0 / 385.2 MB, free: 37.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005537/0.2866, allocations: 95.98 kB / 385.3 MB, free: 37.74 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.0006656/0.2873, allocations: 287.5 kB / 385.6 MB, free: 37.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006886/0.288, allocations: 316.6 kB / 385.9 MB, free: 37.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.288, allocations: 4.062 kB / 385.9 MB, free: 37.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002827/0.2883, allocations: 143.8 kB / 386.1 MB, free: 37.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.2886, allocations: 27.88 kB / 386.1 MB, free: 37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000927/0.2896, allocations: 0.5476 MB / 386.6 MB, free: 36.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.2898, allocations: 0.737 MB / 387.4 MB, free: 35.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.909e-05/0.2899, allocations: 31.42 kB / 387.4 MB, free: 35.64 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2899, allocations: 0 / 387.4 MB, free: 35.64 MB / 298.7 MB Notification: Performance of Templates: time 0.005755/0.2957, allocations: 4.146 MB / 391.5 MB, free: 31.49 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches