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: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.00113/0.00113, allocations: 190 kB / 18.07 MB, free: 5.414 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.409/1.409, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001101/0.001101, allocations: 51.91 kB / 280.1 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08593/0.08704, allocations: 46.61 MB / 326.7 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003058/0.09015, allocations: 1.902 MB / 328.6 MB, free: 2.879 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.09217, allocations: 1.306 MB / 329.9 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.09228, allocations: 8 kB / 329.9 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.09242, allocations: 15.86 kB / 329.9 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.616e-05/0.09251, allocations: 15.8 kB / 329.9 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007355/0.09325, allocations: 259.4 kB / 330.2 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.09346, allocations: 199.6 kB / 330.4 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.09364, allocations: 68.05 kB / 330.5 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.887e-05/0.09374, allocations: 91.55 kB / 330.5 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.09387, allocations: 103.6 kB / 330.6 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.09391, allocations: 12 kB / 330.7 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004303/0.09435, allocations: 311.4 kB / 331 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.09442, allocations: 51.81 kB / 331 MB, free: 460 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.33e-05/0.09451, allocations: 95.39 kB / 331.1 MB, free: 364 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004414/0.09495, allocations: 387.2 kB / 331.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.09497, allocations: 4 kB / 331.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.09497, allocations: 0 / 331.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.09499, allocations: 0 / 331.5 MB, free: 15.97 MB / 286.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.001085/0.09608, allocations: 0.5779 MB / 332.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.09612, allocations: 12.02 kB / 332.1 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.208e-05/0.0962, allocations: 46.73 kB / 332.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.09643, allocations: 40.64 kB / 332.2 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.09666, allocations: 232.7 kB / 332.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.09669, allocations: 20.38 kB / 332.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.09674, allocations: 28.22 kB / 332.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004648/0.09721, allocations: 206.5 kB / 332.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.09723, allocations: 4 kB / 332.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.09726, allocations: 8 kB / 332.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.09727, allocations: 0 / 332.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004524/0.09773, allocations: 160.1 kB / 332.8 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009409/0.09868, allocations: 0.5748 MB / 333.4 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.0997, allocations: 310.5 kB / 333.7 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.1, allocations: 124.7 kB / 333.8 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1, allocations: 3.938 kB / 333.8 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003814/0.1004, allocations: 167.2 kB / 334 MB, free: 13.31 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.1004, allocations: 0 / 334 MB, free: 13.31 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.000965/0.1014, allocations: 356.6 kB / 334.3 MB, free: 12.96 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.1015, allocations: 67.41 kB / 334.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1016, allocations: 207.7 kB / 334.6 MB, free: 12.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.1017, allocations: 37.7 kB / 334.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.1018, allocations: 132.5 kB / 334.8 MB, free: 12.49 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.291e-05/0.1018, allocations: 74.97 kB / 334.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.88e-05/0.1019, allocations: 69.69 kB / 334.9 MB, free: 12.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.102, allocations: 330.8 kB / 335.2 MB, free: 12.01 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.1024, allocations: 135.9 kB / 335.4 MB, free: 11.88 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.1027, allocations: 161.4 kB / 335.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/0.1033, allocations: 279.9 kB / 335.8 MB, free: 11.43 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1034, allocations: 0 / 335.8 MB, free: 11.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007614/0.1041, allocations: 369.1 kB / 336.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1042, allocations: 8 kB / 336.2 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1042, allocations: 0 / 336.2 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1042, allocations: 3.984 kB / 336.2 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.1045, allocations: 71.88 kB / 336.2 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1045, allocations: 4 kB / 336.2 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.1047, allocations: 43.67 kB / 336.3 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.1047, allocations: 15.98 kB / 336.3 MB, free: 10.92 MB / 286.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.0001306/0.1049, allocations: 137.7 kB / 336.4 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.1049, allocations: 15.81 kB / 336.4 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.677e-05/0.105, allocations: 25.86 kB / 336.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.105, allocations: 7.938 kB / 336.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.105, allocations: 4 kB / 336.5 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.105, allocations: 0 / 336.5 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.1061, allocations: 0.6385 MB / 337.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1061, allocations: 0 / 337.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.1063, allocations: 47.95 kB / 337.2 MB, free: 9.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1064, allocations: 0 / 337.2 MB, free: 9.98 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.1064, allocations: 0 / 337.2 MB, free: 9.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1064, allocations: 11.92 kB / 337.2 MB, free: 9.969 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1064, allocations: 0 / 337.2 MB, free: 9.969 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009652/0.1074, allocations: 487.9 kB / 337.7 MB, free: 9.477 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.1074, allocations: 105 kB / 337.8 MB, free: 9.355 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.1075, allocations: 12.06 kB / 337.8 MB, free: 9.344 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.1077, allocations: 19.97 kB / 337.8 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.1077, allocations: 11.98 kB / 337.8 MB, free: 9.312 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1078, allocations: 7.938 kB / 337.8 MB, free: 9.305 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1079, allocations: 151.2 kB / 338 MB, free: 9.156 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1079, allocations: 0 / 338 MB, free: 9.156 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004359/0.1083, allocations: 111.8 kB / 338.1 MB, free: 9.047 MB / 286.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.001801/0.1101, allocations: 1.191 MB / 339.3 MB, free: 7.84 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007068/0.1108, allocations: 283.7 kB / 339.5 MB, free: 7.562 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1109, allocations: 3.938 kB / 339.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.1112, allocations: 115.8 kB / 339.6 MB, free: 7.445 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1115, allocations: 27.92 kB / 339.7 MB, free: 7.418 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.1154, allocations: 2.875 MB / 342.5 MB, free: 4.457 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.1157, allocations: 0.7359 MB / 343.3 MB, free: 3.695 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.1159, allocations: 33.94 kB / 343.3 MB, free: 3.66 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.116, allocations: 71.39 kB / 343.4 MB, free: 3.59 MB / 286.1 MB Notification: Performance of SimCode: time 3.7e-07/0.116, allocations: 0 / 343.4 MB, free: 3.59 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.1323, allocations: 5.873 MB / 349.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.1326, allocations: 260.1 kB / 349.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/1.952, allocations: 0 / 349.5 MB, free: 13.41 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties.fmu > 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/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_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches