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.0009848/0.0009848, allocations: 93.25 kB / 17.3 MB, free: 6.391 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.001015/0.001015, allocations: 172.9 kB / 18.2 MB, free: 5.551 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.326/1.326, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0005224/0.0005224, allocations: 12 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1028, allocations: 47.58 MB / 329.1 MB, free: 3.656 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.002168/0.105, allocations: 1.551 MB / 330.6 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.1073, allocations: 1.279 MB / 331.9 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.703e-05/0.1074, allocations: 4 kB / 331.9 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.1075, allocations: 11.86 kB / 331.9 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.504e-05/0.1076, allocations: 23.86 kB / 331.9 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007665/0.1084, allocations: 255.4 kB / 332.2 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.1087, allocations: 203.5 kB / 332.4 MB, free: 320 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.1089, allocations: 71.97 kB / 332.4 MB, free: 248 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.184e-05/0.109, allocations: 75.69 kB / 332.5 MB, free: 172 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.1092, allocations: 99.45 kB / 332.6 MB, free: 72 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.1092, allocations: 8 kB / 332.6 MB, free: 64 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006082/0.1098, allocations: 303.5 kB / 332.9 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.986e-05/0.1099, allocations: 43.77 kB / 333 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.11, allocations: 117.1 kB / 333.1 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.1105, allocations: 391 kB / 333.5 MB, free: 15.22 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1105, allocations: 0 / 333.5 MB, free: 15.22 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1105, allocations: 0 / 333.5 MB, free: 15.22 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1105, allocations: 0 / 333.5 MB, free: 15.22 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.001138/0.1116, allocations: 0.5624 MB / 334 MB, free: 14.61 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.1117, allocations: 12.03 kB / 334 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.989e-05/0.1118, allocations: 50.73 kB / 334.1 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.112, allocations: 36.64 kB / 334.1 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.1123, allocations: 236.8 kB / 334.4 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.1123, allocations: 16.38 kB / 334.4 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/0.1124, allocations: 20.28 kB / 334.4 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.1129, allocations: 234.5 kB / 334.6 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.113, allocations: 0 / 334.6 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.113, allocations: 4 kB / 334.6 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.113, allocations: 4 kB / 334.6 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.1135, allocations: 192 kB / 334.8 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.1146, allocations: 0.5865 MB / 335.4 MB, free: 13.13 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.1157, allocations: 382.5 kB / 335.8 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.116, allocations: 128.8 kB / 335.9 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1161, allocations: 8 kB / 335.9 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00043/0.1165, allocations: 183.3 kB / 336.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.11e-05/0.1165, allocations: 0 / 336.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001052/0.1176, allocations: 413.1 kB / 336.5 MB, free: 12.01 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.1177, allocations: 59.41 kB / 336.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.1179, allocations: 215.8 kB / 336.8 MB, free: 11.71 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.118, allocations: 33.7 kB / 336.8 MB, free: 11.67 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.428e-05/0.1181, allocations: 132.6 kB / 336.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.1182, allocations: 71.02 kB / 337 MB, free: 11.47 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.1183, allocations: 45.62 kB / 337 MB, free: 11.42 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1184, allocations: 334.8 kB / 337.4 MB, free: 11.08 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.1188, allocations: 155.9 kB / 337.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/0.1192, allocations: 177.4 kB / 337.7 MB, free: 10.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007657/0.12, allocations: 316.2 kB / 338 MB, free: 10.44 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.12, allocations: 0 / 338 MB, free: 10.44 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009513/0.121, allocations: 417.1 kB / 338.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.121, allocations: 7.984 kB / 338.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.121, allocations: 0 / 338.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.121, allocations: 4 kB / 338.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.1213, allocations: 75.89 kB / 338.5 MB, free: 9.938 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.1214, allocations: 0 / 338.5 MB, free: 9.938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.1216, allocations: 59.66 kB / 338.5 MB, free: 9.879 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.1216, allocations: 8 kB / 338.6 MB, free: 9.871 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.000154/0.1218, allocations: 145.7 kB / 338.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.1218, allocations: 23.72 kB / 338.7 MB, free: 9.695 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.972e-05/0.1219, allocations: 21.86 kB / 338.7 MB, free: 9.672 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1219, allocations: 0 / 338.7 MB, free: 9.672 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1219, allocations: 4 kB / 338.7 MB, free: 9.668 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1219, allocations: 0 / 338.7 MB, free: 9.668 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.1232, allocations: 0.6893 MB / 339.4 MB, free: 8.922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1232, allocations: 0 / 339.4 MB, free: 8.922 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.1235, allocations: 55.95 kB / 339.5 MB, free: 8.867 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1235, allocations: 3.984 kB / 339.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.1235, allocations: 8 kB / 339.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1235, allocations: 0 / 339.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1235, allocations: 0 / 339.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.1246, allocations: 0.5427 MB / 340 MB, free: 8.297 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.1247, allocations: 100.9 kB / 340.1 MB, free: 8.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.1247, allocations: 8.109 kB / 340.1 MB, free: 8.172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.1249, allocations: 31.98 kB / 340.2 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.125, allocations: 19.97 kB / 340.2 MB, free: 8.121 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.125, allocations: 8 kB / 340.2 MB, free: 8.113 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.1252, allocations: 147.2 kB / 340.4 MB, free: 7.969 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1252, allocations: 0 / 340.4 MB, free: 7.969 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004528/0.1257, allocations: 107.8 kB / 340.5 MB, free: 7.863 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.002284/0.128, allocations: 1.245 MB / 341.7 MB, free: 6.605 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008189/0.1288, allocations: 323.7 kB / 342 MB, free: 6.289 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1288, allocations: 0 / 342 MB, free: 6.289 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.1292, allocations: 134.7 kB / 342.1 MB, free: 6.16 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.1296, allocations: 27.92 kB / 342.2 MB, free: 6.133 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00485/0.1345, allocations: 2.992 MB / 345.2 MB, free: 3.055 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.135, allocations: 0.7398 MB / 345.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.1351, allocations: 33.92 kB / 345.9 MB, free: 2.254 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.1353, allocations: 75.41 kB / 346 MB, free: 2.18 MB / 286.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1353, allocations: 0 / 346 MB, free: 2.18 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.1549, allocations: 5.732 MB / 351.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000506/0.1555, allocations: 259.8 kB / 352 MB, free: 12.17 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/2.321, allocations: 0 / 352 MB, free: 12.17 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