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: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009813/0.0009813, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.203/1.203, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007035/0.0007036, allocations: 86.41 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.000291, allocations: 11.98 kB / 327.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2327, allocations: 47.57 MB / 375.2 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.001642/0.2344, allocations: 1.511 MB / 376.7 MB, free: 44.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.2361, allocations: 1.195 MB / 377.9 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.501e-05/0.2362, allocations: 2.219 kB / 377.9 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.113e-05/0.2363, allocations: 8.844 kB / 377.9 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.227e-05/0.2364, allocations: 22.73 kB / 377.9 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.237, allocations: 246.2 kB / 378.2 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.2372, allocations: 201.1 kB / 378.4 MB, free: 42.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.2374, allocations: 56.41 kB / 378.4 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.065e-05/0.2375, allocations: 79.83 kB / 378.5 MB, free: 42.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.2376, allocations: 93.66 kB / 378.6 MB, free: 42.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.2377, allocations: 9.656 kB / 378.6 MB, free: 42.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/0.2381, allocations: 297.7 kB / 378.9 MB, free: 42.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.2382, allocations: 44.78 kB / 378.9 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.831e-05/0.2383, allocations: 108 kB / 379 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.2386, allocations: 279.8 kB / 379.3 MB, free: 42.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2386, allocations: 0 / 379.3 MB, free: 42.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2386, allocations: 4 kB / 379.3 MB, free: 42.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.2386, allocations: 1.656 kB / 379.3 MB, free: 42.38 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.0009558/0.2396, allocations: 0.5586 MB / 379.9 MB, free: 41.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2396, allocations: 8.625 kB / 379.9 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.709e-05/0.2397, allocations: 51.42 kB / 379.9 MB, free: 41.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.2399, allocations: 35.95 kB / 380 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.2401, allocations: 241.4 kB / 380.2 MB, free: 41.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.2401, allocations: 17.19 kB / 380.2 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.2402, allocations: 17.69 kB / 380.2 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.2406, allocations: 226.8 kB / 380.5 MB, free: 41.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2406, allocations: 0 / 380.5 MB, free: 41.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.2407, allocations: 5.188 kB / 380.5 MB, free: 41.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2407, allocations: 4.188 kB / 380.5 MB, free: 41.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.2411, allocations: 189.2 kB / 380.7 MB, free: 41.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008804/0.242, allocations: 0.5945 MB / 381.2 MB, free: 40.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.2431, allocations: 372.7 kB / 381.6 MB, free: 40.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.2434, allocations: 133.9 kB / 381.7 MB, free: 40.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.2434, allocations: 6.5 kB / 381.7 MB, free: 40.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004257/0.2438, allocations: 187 kB / 381.9 MB, free: 40.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.814e-06/0.2439, allocations: 4 kB / 381.9 MB, free: 40.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009774/0.2448, allocations: 415.2 kB / 382.3 MB, free: 40.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.2449, allocations: 60.56 kB / 382.4 MB, free: 40.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.2451, allocations: 213.9 kB / 382.6 MB, free: 40.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.2451, allocations: 38.86 kB / 382.6 MB, free: 40.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.2452, allocations: 130.2 kB / 382.8 MB, free: 39.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.2452, allocations: 72.66 kB / 382.8 MB, free: 39.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.609e-05/0.2452, allocations: 5.375 kB / 382.8 MB, free: 39.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.2453, allocations: 336.3 kB / 383.2 MB, free: 39.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.2456, allocations: 147.8 kB / 383.3 MB, free: 39.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.246, allocations: 180.2 kB / 383.5 MB, free: 39.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006388/0.2466, allocations: 315.2 kB / 383.8 MB, free: 39.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2466, allocations: 0.9375 kB / 383.8 MB, free: 39.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007919/0.2474, allocations: 414.3 kB / 384.2 MB, free: 39.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2475, allocations: 8.5 kB / 384.2 MB, free: 39.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2475, allocations: 0 / 384.2 MB, free: 39.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.2475, allocations: 2.125 kB / 384.2 MB, free: 39.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.2478, allocations: 85.16 kB / 384.3 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2478, allocations: 6.562 kB / 384.3 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.248, allocations: 47.62 kB / 384.4 MB, free: 38.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.248, allocations: 10.47 kB / 384.4 MB, free: 38.97 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.0001186/0.2482, allocations: 149 kB / 384.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.2482, allocations: 19.31 kB / 384.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.2483, allocations: 26.16 kB / 384.6 MB, free: 38.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2483, allocations: 1.906 kB / 384.6 MB, free: 38.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2483, allocations: 0 / 384.6 MB, free: 38.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2483, allocations: 3.984 kB / 384.6 MB, free: 38.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.2493, allocations: 0.6759 MB / 385.2 MB, free: 38.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2493, allocations: 0 / 385.2 MB, free: 38.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.2496, allocations: 58.14 kB / 385.3 MB, free: 38.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2496, allocations: 1.062 kB / 385.3 MB, free: 38.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.2496, allocations: 10.14 kB / 385.3 MB, free: 38.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2496, allocations: 1.312 kB / 385.3 MB, free: 38.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2496, allocations: 0 / 385.3 MB, free: 38.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/0.2505, allocations: 0.5279 MB / 385.8 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.2506, allocations: 104.7 kB / 385.9 MB, free: 37.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.2506, allocations: 8.062 kB / 385.9 MB, free: 37.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.2508, allocations: 31.97 kB / 386 MB, free: 37.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.2508, allocations: 19.91 kB / 386 MB, free: 37.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.2508, allocations: 7.984 kB / 386 MB, free: 37.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.502e-05/0.2509, allocations: 151.2 kB / 386.2 MB, free: 37.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2509, allocations: 0 / 386.2 MB, free: 37.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004091/0.2514, allocations: 104 kB / 386.3 MB, free: 37.28 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.001495/0.2529, allocations: 1.261 MB / 387.5 MB, free: 36.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000639/0.2535, allocations: 330.5 kB / 387.8 MB, free: 35.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2535, allocations: 3.938 kB / 387.8 MB, free: 35.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.2538, allocations: 135.9 kB / 388 MB, free: 35.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.2541, allocations: 23.94 kB / 388 MB, free: 35.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.2564, allocations: 1.635 MB / 389.6 MB, free: 33.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.2566, allocations: 0.744 MB / 390.4 MB, free: 33.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.2567, allocations: 71.41 kB / 390.4 MB, free: 33.01 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2567, allocations: 0 / 390.4 MB, free: 33.01 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.645/3.901, allocations: 4.614 MB / 395.1 MB, free: 28.38 MB / 298.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties.fmu > 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/jenkins1/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