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.001278/0.001278, allocations: 111.9 kB / 17.28 MB, free: 6.219 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.00103/0.00103, allocations: 193.3 kB / 18.2 MB, free: 5.301 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.722/1.722, allocations: 205.1 MB / 224 MB, free: 12.36 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.001208/0.001209, allocations: 48.16 kB / 280.2 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1127, allocations: 46.63 MB / 326.9 MB, free: 4.691 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.0035/0.1162, allocations: 1.913 MB / 328.8 MB, free: 2.758 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.1184, allocations: 1.267 MB / 330.1 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.294e-05/0.1185, allocations: 0 / 330.1 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.1187, allocations: 19.8 kB / 330.1 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.576e-05/0.1188, allocations: 11.86 kB / 330.1 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008626/0.1197, allocations: 279.5 kB / 330.4 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.1199, allocations: 219.5 kB / 330.6 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.1201, allocations: 64.06 kB / 330.6 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1202, allocations: 99.61 kB / 330.7 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1203, allocations: 115.5 kB / 330.8 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.1204, allocations: 20 kB / 330.9 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.1208, allocations: 311.5 kB / 331.2 MB, free: 372 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.753e-05/0.1209, allocations: 63.75 kB / 331.2 MB, free: 308 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.91e-05/0.121, allocations: 95.45 kB / 331.3 MB, free: 212 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005093/0.1216, allocations: 399.2 kB / 331.7 MB, free: 15.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1216, allocations: 0 / 331.7 MB, free: 15.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1216, allocations: 0 / 331.7 MB, free: 15.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1216, allocations: 4 kB / 331.7 MB, free: 15.81 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.001149/0.1227, allocations: 0.5817 MB / 332.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1228, allocations: 12.03 kB / 332.3 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.522e-05/0.1229, allocations: 50.73 kB / 332.4 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.1231, allocations: 36.64 kB / 332.4 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1233, allocations: 240.8 kB / 332.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.1234, allocations: 16.38 kB / 332.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.1234, allocations: 24.28 kB / 332.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/0.1239, allocations: 206.5 kB / 332.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1239, allocations: 0 / 332.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.124, allocations: 4 kB / 332.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.124, allocations: 7.938 kB / 332.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004359/0.1244, allocations: 160.1 kB / 333 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009877/0.1254, allocations: 0.5787 MB / 333.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009604/0.1264, allocations: 314.5 kB / 333.9 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.1267, allocations: 112.8 kB / 334 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1267, allocations: 8 kB / 334 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003797/0.1271, allocations: 162.6 kB / 334.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 2.053e-06/0.1271, allocations: 0 / 334.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009513/0.1281, allocations: 361.1 kB / 334.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.1281, allocations: 55.41 kB / 334.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.1283, allocations: 215.7 kB / 334.8 MB, free: 12.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.1284, allocations: 41.7 kB / 334.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/0.1285, allocations: 128.5 kB / 335 MB, free: 12.33 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.752e-05/0.1285, allocations: 78.97 kB / 335.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.1287, allocations: 65.69 kB / 335.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1288, allocations: 334.8 kB / 335.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.1291, allocations: 131.9 kB / 335.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.1295, allocations: 161.4 kB / 335.7 MB, free: 11.55 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/0.1301, allocations: 283.8 kB / 336 MB, free: 11.27 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1301, allocations: 0 / 336 MB, free: 11.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007495/0.1308, allocations: 369.2 kB / 336.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1309, allocations: 4 kB / 336.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.1309, allocations: 4 kB / 336.4 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1309, allocations: 0 / 336.4 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.1312, allocations: 67.88 kB / 336.5 MB, free: 10.83 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.1312, allocations: 4 kB / 336.5 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.1314, allocations: 43.67 kB / 336.5 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.1314, allocations: 11.98 kB / 336.5 MB, free: 10.77 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.0001463/0.1316, allocations: 141.7 kB / 336.7 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.1316, allocations: 15.81 kB / 336.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.1317, allocations: 25.86 kB / 336.7 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.1317, allocations: 4 kB / 336.7 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.1318, allocations: 7.938 kB / 336.7 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1318, allocations: 3.984 kB / 336.7 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.1329, allocations: 0.643 MB / 337.4 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1329, allocations: 0 / 337.4 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.1331, allocations: 51.83 kB / 337.4 MB, free: 9.812 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1332, allocations: 3.938 kB / 337.4 MB, free: 9.809 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.1332, allocations: 7.984 kB / 337.4 MB, free: 9.801 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1332, allocations: 4 kB / 337.4 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1332, allocations: 0 / 337.4 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009335/0.1341, allocations: 487.4 kB / 337.9 MB, free: 9.305 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.1342, allocations: 104.9 kB / 338 MB, free: 9.184 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.1343, allocations: 4 kB / 338 MB, free: 9.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.1344, allocations: 23.97 kB / 338 MB, free: 9.156 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.1345, allocations: 11.98 kB / 338 MB, free: 9.145 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.1345, allocations: 8 kB / 338 MB, free: 9.137 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.1347, allocations: 151.2 kB / 338.2 MB, free: 8.988 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1347, allocations: 3.938 kB / 338.2 MB, free: 8.984 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000472/0.1352, allocations: 103.8 kB / 338.3 MB, free: 8.883 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.001895/0.1371, allocations: 1.195 MB / 339.5 MB, free: 7.672 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007537/0.1378, allocations: 295.6 kB / 339.8 MB, free: 7.383 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1378, allocations: 0 / 339.8 MB, free: 7.383 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.1381, allocations: 115.9 kB / 339.9 MB, free: 7.27 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1385, allocations: 19.98 kB / 339.9 MB, free: 7.25 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.1424, allocations: 2.881 MB / 342.8 MB, free: 4.281 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1428, allocations: 0.7398 MB / 343.5 MB, free: 3.516 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.143, allocations: 41.8 kB / 343.6 MB, free: 3.473 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.1431, allocations: 71.41 kB / 343.6 MB, free: 3.402 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1431, allocations: 0 / 343.6 MB, free: 3.402 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03272/0.1758, allocations: 5.996 MB / 349.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.176, allocations: 252.5 kB / 349.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/2.416, allocations: 3.938 kB / 349.9 MB, free: 13.12 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