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.001012/0.001013, allocations: 175.3 kB / 16.72 MB, free: 5.082 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.6/1.6, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0008033/0.000803, allocations: 105.3 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003231, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2462, allocations: 47.58 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.001951/0.2482, allocations: 1.504 MB / 376.6 MB, free: 44.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.2502, allocations: 1.199 MB / 377.8 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.2503, allocations: 2.344 kB / 377.8 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.2505, allocations: 11.86 kB / 377.8 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.045e-05/0.2505, allocations: 22.14 kB / 377.8 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007813/0.2513, allocations: 246.9 kB / 378.1 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.2516, allocations: 194.1 kB / 378.3 MB, free: 43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.2518, allocations: 60.62 kB / 378.3 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.874e-05/0.2519, allocations: 80.42 kB / 378.4 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.252, allocations: 92.17 kB / 378.5 MB, free: 42.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.2521, allocations: 10.22 kB / 378.5 MB, free: 42.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005137/0.2526, allocations: 296.6 kB / 378.8 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.497e-05/0.2526, allocations: 45.56 kB / 378.8 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.852e-05/0.2527, allocations: 108 kB / 378.9 MB, free: 42.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.2531, allocations: 279.7 kB / 379.2 MB, free: 42.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2531, allocations: 0 / 379.2 MB, free: 42.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2531, allocations: 0 / 379.2 MB, free: 42.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.2531, allocations: 0 / 379.2 MB, free: 42.4 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.001053/0.2542, allocations: 0.5589 MB / 379.8 MB, free: 41.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2543, allocations: 9.469 kB / 379.8 MB, free: 41.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.2545, allocations: 30.89 kB / 379.8 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.2547, allocations: 251 kB / 380.1 MB, free: 41.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.2548, allocations: 12.59 kB / 380.1 MB, free: 41.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.2548, allocations: 21.38 kB / 380.1 MB, free: 41.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005203/0.2554, allocations: 221.4 kB / 380.3 MB, free: 41.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2554, allocations: 0 / 380.3 MB, free: 41.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.2554, allocations: 10 kB / 380.3 MB, free: 41.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2554, allocations: 3.5 kB / 380.3 MB, free: 41.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/0.2559, allocations: 182.2 kB / 380.5 MB, free: 41.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009982/0.2569, allocations: 0.581 MB / 381.1 MB, free: 40.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.2581, allocations: 380.4 kB / 381.4 MB, free: 40.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.2584, allocations: 133.9 kB / 381.6 MB, free: 40.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.2584, allocations: 6.438 kB / 381.6 MB, free: 40.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004084/0.2588, allocations: 178.9 kB / 381.8 MB, free: 40.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/0.2588, allocations: 7.938 kB / 381.8 MB, free: 40.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001052/0.2599, allocations: 415.6 kB / 382.2 MB, free: 40.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.26, allocations: 61.22 kB / 382.2 MB, free: 40.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.2601, allocations: 204.5 kB / 382.4 MB, free: 40.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.2602, allocations: 47.88 kB / 382.5 MB, free: 40.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.2603, allocations: 129.6 kB / 382.6 MB, free: 39.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.2603, allocations: 68.52 kB / 382.7 MB, free: 39.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/0.2603, allocations: 4.688 kB / 382.7 MB, free: 39.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.522e-05/0.2604, allocations: 332.7 kB / 383 MB, free: 39.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/0.2608, allocations: 147.8 kB / 383.1 MB, free: 39.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.2611, allocations: 179.3 kB / 383.3 MB, free: 39.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.2618, allocations: 300.7 kB / 383.6 MB, free: 39.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2618, allocations: 3.938 kB / 383.6 MB, free: 39.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008792/0.2627, allocations: 416.2 kB / 384 MB, free: 39.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.2627, allocations: 4.75 kB / 384 MB, free: 39.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.2627, allocations: 1 kB / 384 MB, free: 39.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2627, allocations: 2.219 kB / 384 MB, free: 39.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.263, allocations: 80.66 kB / 384.1 MB, free: 39.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.2631, allocations: 6.141 kB / 384.1 MB, free: 39.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.2632, allocations: 51.69 kB / 384.2 MB, free: 39.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.2633, allocations: 11.22 kB / 384.2 MB, free: 39.06 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.0001232/0.2634, allocations: 151.7 kB / 384.3 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.2634, allocations: 20.28 kB / 384.3 MB, free: 38.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.916e-05/0.2635, allocations: 21.31 kB / 384.4 MB, free: 38.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2635, allocations: 2.031 kB / 384.4 MB, free: 38.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2635, allocations: 3.938 kB / 384.4 MB, free: 38.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2635, allocations: 5.516 kB / 384.4 MB, free: 38.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.2646, allocations: 0.6873 MB / 385.1 MB, free: 38.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.2647, allocations: 5.375 kB / 385.1 MB, free: 38.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.2649, allocations: 58.39 kB / 385.1 MB, free: 38.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2649, allocations: 0 / 385.1 MB, free: 38.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.2649, allocations: 6.234 kB / 385.1 MB, free: 38.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.265, allocations: 5 kB / 385.1 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.265, allocations: 5.062 kB / 385.1 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009102/0.2659, allocations: 0.5315 MB / 385.7 MB, free: 37.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.2659, allocations: 100.8 kB / 385.8 MB, free: 37.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.266, allocations: 12 kB / 385.8 MB, free: 37.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.2661, allocations: 31.97 kB / 385.8 MB, free: 37.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.2662, allocations: 11.98 kB / 385.8 MB, free: 37.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.2662, allocations: 7.984 kB / 385.8 MB, free: 37.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.545e-05/0.2663, allocations: 151.2 kB / 386 MB, free: 37.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2663, allocations: 0 / 386 MB, free: 37.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004383/0.2668, allocations: 104 kB / 386.1 MB, free: 37.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.000614/0.2674, allocations: 283.5 kB / 386.4 MB, free: 37.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006484/0.2681, allocations: 323.7 kB / 386.7 MB, free: 36.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2681, allocations: 0 / 386.7 MB, free: 36.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.2684, allocations: 135.9 kB / 386.8 MB, free: 36.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.2687, allocations: 27.86 kB / 386.8 MB, free: 36.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007681/0.2695, allocations: 0.5464 MB / 387.4 MB, free: 36.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.2697, allocations: 0.7437 MB / 388.1 MB, free: 35.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.406e-05/0.2698, allocations: 27.36 kB / 388.2 MB, free: 35.27 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2698, allocations: 0 / 388.2 MB, free: 35.27 MB / 298.7 MB Notification: Performance of Templates: time 0.005489/0.2753, allocations: 4.148 MB / 392.3 MB, free: 31.12 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