Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",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.001418/0.001419, 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.001542/0.001542, 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.617/1.617, 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.001253/0.001253, allocations: 47.94 kB / 280.3 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1159, allocations: 46.62 MB / 326.9 MB, free: 4.695 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.003715/0.1197, allocations: 1.921 MB / 328.8 MB, free: 2.754 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.1217, allocations: 0.9863 MB / 329.8 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1219, allocations: 3.938 kB / 329.8 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.122, allocations: 15.86 kB / 329.8 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.1222, allocations: 19.86 kB / 329.8 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.1228, allocations: 171.7 kB / 330 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.1231, allocations: 211.5 kB / 330.2 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.1232, allocations: 68.05 kB / 330.3 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.1233, allocations: 103.6 kB / 330.4 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.1235, allocations: 115.4 kB / 330.5 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.1235, allocations: 24 kB / 330.5 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.1237, allocations: 127.9 kB / 330.6 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.1238, allocations: 63.75 kB / 330.7 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.331e-05/0.1239, allocations: 99.45 kB / 330.8 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.1243, allocations: 303.4 kB / 331.1 MB, free: 468 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1243, allocations: 0 / 331.1 MB, free: 468 kB / 270.1 MB Notification: Performance of FrontEnd: time 4.769e-06/0.1243, allocations: 3.984 kB / 331.1 MB, free: 464 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1243, allocations: 0 / 331.1 MB, free: 464 kB / 270.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.00126/0.1256, allocations: 0.5544 MB / 331.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.1256, allocations: 16.03 kB / 331.7 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.522e-05/0.1257, allocations: 50.67 kB / 331.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.1259, allocations: 36.64 kB / 331.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1262, allocations: 244.8 kB / 332 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.1262, allocations: 12.38 kB / 332 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.1263, allocations: 24.28 kB / 332 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004862/0.1268, allocations: 214.4 kB / 332.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1268, allocations: 0 / 332.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.1268, allocations: 8 kB / 332.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.1268, allocations: 4 kB / 332.2 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.1273, allocations: 152.1 kB / 332.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.1284, allocations: 0.5748 MB / 333 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.1294, allocations: 318.5 kB / 333.3 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.1297, allocations: 116.7 kB / 333.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.1297, allocations: 0 / 333.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003825/0.1301, allocations: 170.6 kB / 333.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.1301, allocations: 0 / 333.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009394/0.1311, allocations: 361.1 kB / 333.9 MB, free: 13.46 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.1312, allocations: 63.47 kB / 334 MB, free: 13.38 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.1314, allocations: 207.8 kB / 334.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.1314, allocations: 37.69 kB / 334.2 MB, free: 13.12 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/0.1315, allocations: 136.5 kB / 334.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.708e-05/0.1316, allocations: 70.92 kB / 334.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.1317, allocations: 69.69 kB / 334.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1318, allocations: 330.8 kB / 334.8 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.1322, allocations: 131.9 kB / 334.9 MB, free: 12.38 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.1325, allocations: 165.4 kB / 335.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005795/0.1331, allocations: 279.8 kB / 335.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1331, allocations: 4 kB / 335.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007503/0.1339, allocations: 365.2 kB / 335.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.1339, allocations: 4 kB / 335.7 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1339, allocations: 4.031 kB / 335.7 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.134, allocations: 4 kB / 335.7 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.1342, allocations: 67.88 kB / 335.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.1343, allocations: 7.938 kB / 335.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.1344, allocations: 39.66 kB / 335.8 MB, free: 11.44 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.1345, allocations: 15.98 kB / 335.9 MB, free: 11.43 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.0001549/0.1346, allocations: 145.7 kB / 336 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.1347, allocations: 15.81 kB / 336 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.265e-05/0.1348, allocations: 25.86 kB / 336 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1348, allocations: 0 / 336 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.1348, allocations: 4 kB / 336 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1348, allocations: 3.984 kB / 336.1 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.1358, allocations: 0.6469 MB / 336.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1359, allocations: 0 / 336.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.1361, allocations: 47.89 kB / 336.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1361, allocations: 4 kB / 336.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.1361, allocations: 4 kB / 336.8 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1361, allocations: 4 kB / 336.8 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1362, allocations: 0 / 336.8 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009589/0.1371, allocations: 491.4 kB / 337.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.1372, allocations: 92.86 kB / 337.3 MB, free: 9.855 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.1372, allocations: 16 kB / 337.3 MB, free: 9.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.1374, allocations: 19.97 kB / 337.4 MB, free: 9.82 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.1375, allocations: 15.98 kB / 337.4 MB, free: 9.805 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.1375, allocations: 7.984 kB / 337.4 MB, free: 9.797 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1376, allocations: 147.2 kB / 337.5 MB, free: 9.652 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1377, allocations: 4 kB / 337.5 MB, free: 9.648 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003708/0.138, allocations: 67.84 kB / 337.6 MB, free: 9.582 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.001578/0.1396, allocations: 1.129 MB / 338.7 MB, free: 8.438 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007302/0.1404, allocations: 303.6 kB / 339 MB, free: 8.141 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1404, allocations: 0 / 339 MB, free: 8.141 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.1407, allocations: 115.9 kB / 339.1 MB, free: 8.027 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.141, allocations: 23.98 kB / 339.2 MB, free: 8.004 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.145, allocations: 2.866 MB / 342 MB, free: 5.051 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.1453, allocations: 0.7437 MB / 342.8 MB, free: 4.281 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001363/0.1455, allocations: 29.94 kB / 342.8 MB, free: 4.25 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.1456, allocations: 75.34 kB / 342.9 MB, free: 4.176 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1456, allocations: 0 / 342.9 MB, free: 4.176 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.1711, allocations: 5.29 MB / 348.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.1713, allocations: 257.8 kB / 348.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/2.286, allocations: 4 kB / 348.4 MB, free: 14.6 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoiseProperties/UniformNoiseProperties.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches