Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_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.001167/0.001167, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001192/0.001192, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 52.17 kB / 300.1 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1231, allocations: 49.45 MB / 349.5 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003824/0.1269, allocations: 1.894 MB / 351.4 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.1293, allocations: 1.29 MB / 352.7 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.1295, allocations: 0 / 352.7 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.1297, allocations: 15.8 kB / 352.7 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.77e-05/0.1298, allocations: 19.84 kB / 352.7 MB, free: 1.516 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.000861/0.1306, allocations: 251.5 kB / 353 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.1309, allocations: 207.5 kB / 353.2 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.1311, allocations: 56.12 kB / 353.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1312, allocations: 91.61 kB / 353.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005898/0.1318, allocations: 111.6 kB / 353.4 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.242e-05/0.1319, allocations: 12 kB / 353.4 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000522/0.1324, allocations: 299.3 kB / 353.7 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/0.1325, allocations: 47.83 kB / 353.8 MB, free: 472 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1326, allocations: 87.45 kB / 353.9 MB, free: 384 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005409/0.1332, allocations: 383.2 kB / 354.2 MB, free: 0 / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1332, allocations: 0 / 354.2 MB, free: 0 / 286.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1332, allocations: 4.047 kB / 354.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1332, allocations: 0 / 354.3 MB, free: 15.99 MB / 302.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.001235/0.1345, allocations: 0.5662 MB / 354.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1345, allocations: 8.031 kB / 354.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.448e-05/0.1346, allocations: 54.73 kB / 354.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002489/0.1349, allocations: 36.64 kB / 354.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.1352, allocations: 237.4 kB / 355.1 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.1352, allocations: 16 kB / 355.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.1353, allocations: 27.84 kB / 355.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.1358, allocations: 206.2 kB / 355.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1359, allocations: 0 / 355.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.1359, allocations: 8 kB / 355.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1359, allocations: 11.98 kB / 355.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005151/0.1364, allocations: 148.2 kB / 355.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.1376, allocations: 0.5863 MB / 356.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.1388, allocations: 309.3 kB / 356.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.1391, allocations: 128.7 kB / 356.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.1391, allocations: 0 / 356.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004479/0.1396, allocations: 167.3 kB / 356.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.793e-06/0.1396, allocations: 0 / 356.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001117/0.1407, allocations: 355.8 kB / 357.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.1408, allocations: 63.41 kB / 357.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.141, allocations: 207.8 kB / 357.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.1411, allocations: 37.7 kB / 357.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1412, allocations: 136.6 kB / 357.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/0.1413, allocations: 70.92 kB / 357.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.1414, allocations: 73.69 kB / 357.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1416, allocations: 334.8 kB / 358 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.1419, allocations: 127.9 kB / 358.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/0.1424, allocations: 165.6 kB / 358.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006661/0.143, allocations: 268.2 kB / 358.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.143, allocations: 0 / 358.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00088/0.1439, allocations: 372.9 kB / 358.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.144, allocations: 4 kB / 358.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.144, allocations: 0 / 358.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.144, allocations: 4 kB / 358.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.1443, allocations: 75.91 kB / 359 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1443, allocations: 3.938 kB / 359 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.1445, allocations: 43.66 kB / 359 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.1446, allocations: 8 kB / 359 MB, free: 10.97 MB / 302.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.0001737/0.1448, allocations: 149.8 kB / 359.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.1448, allocations: 19.75 kB / 359.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.952e-05/0.1449, allocations: 21.88 kB / 359.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1449, allocations: 0 / 359.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.1449, allocations: 3.938 kB / 359.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1449, allocations: 7.922 kB / 359.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.1462, allocations: 0.6385 MB / 359.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1462, allocations: 0 / 359.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.1465, allocations: 39.95 kB / 359.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.1465, allocations: 0 / 359.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.1465, allocations: 11.98 kB / 359.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1465, allocations: 4 kB / 359.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.1465, allocations: 7.875 kB / 359.9 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.1477, allocations: 485 kB / 360.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.1477, allocations: 92.91 kB / 360.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.1478, allocations: 8.062 kB / 360.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.148, allocations: 19.97 kB / 360.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.148, allocations: 11.98 kB / 360.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.1481, allocations: 16.11 kB / 360.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1482, allocations: 147.2 kB / 360.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1482, allocations: 0 / 360.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004594/0.1487, allocations: 103.8 kB / 360.8 MB, free: 9.105 MB / 302.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.001999/0.1507, allocations: 1.179 MB / 362 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008313/0.1515, allocations: 281 kB / 362.2 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.1516, allocations: 0 / 362.2 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.1519, allocations: 119.8 kB / 362.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1523, allocations: 24.05 kB / 362.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004353/0.1566, allocations: 2.877 MB / 365.3 MB, free: 4.566 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.157, allocations: 0.7401 MB / 366 MB, free: 3.801 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.1572, allocations: 25.94 kB / 366 MB, free: 3.777 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.1573, allocations: 75.41 kB / 366.1 MB, free: 3.703 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1573, allocations: 0 / 366.1 MB, free: 3.703 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2091/0.3664, allocations: 5.709 MB / 371.8 MB, free: 24.98 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.3667, allocations: 242.2 kB / 372.1 MB, free: 24.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.389, allocations: 0 / 372.1 MB, free: 24.73 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches