Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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 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: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 99.7 kB / 16.5 MB, free: 6.645 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.001929/0.001929, allocations: 195.1 kB / 17.42 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.336/1.336, allocations: 222.9 MB / 241.1 MB, free: 15.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 51.64 kB / 300 MB, free: 6.27 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1145, allocations: 49.45 MB / 349.4 MB, free: 4.82 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003919/0.1185, allocations: 1.902 MB / 351.3 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.1207, allocations: 0.9899 MB / 352.3 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1208, allocations: 0 / 352.3 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.121, allocations: 11.86 kB / 352.3 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.1212, allocations: 23.86 kB / 352.3 MB, free: 1.867 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.0005177/0.1217, allocations: 155.7 kB / 352.5 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.1219, allocations: 203.5 kB / 352.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.1221, allocations: 72.06 kB / 352.8 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.22e-05/0.1222, allocations: 79.69 kB / 352.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005475/0.1228, allocations: 126.1 kB / 353 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.1228, allocations: 12 kB / 353 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.123, allocations: 107.9 kB / 353.1 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.1231, allocations: 47.77 kB / 353.1 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.1232, allocations: 99.44 kB / 353.2 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.1235, allocations: 267.4 kB / 353.5 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1236, allocations: 4 kB / 353.5 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1236, allocations: 0 / 353.5 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1236, allocations: 4 kB / 353.5 MB, free: 0.7148 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.001127/0.1247, allocations: 0.5505 MB / 354 MB, free: 116 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1248, allocations: 16.02 kB / 354 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.125, allocations: 40.59 kB / 354.1 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.1253, allocations: 233.6 kB / 354.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.1254, allocations: 16.22 kB / 354.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.1254, allocations: 27.97 kB / 354.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.1259, allocations: 198.8 kB / 354.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1259, allocations: 0 / 354.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.126, allocations: 4 kB / 354.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.126, allocations: 8 kB / 354.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004706/0.1265, allocations: 148.4 kB / 354.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009974/0.1275, allocations: 0.5862 MB / 355.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.1285, allocations: 305.3 kB / 355.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.1288, allocations: 116.7 kB / 355.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.1289, allocations: 7.938 kB / 355.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003998/0.1293, allocations: 167.3 kB / 355.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/0.1293, allocations: 0 / 355.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001007/0.1303, allocations: 355.9 kB / 356.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.1304, allocations: 59.41 kB / 356.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.1306, allocations: 211.7 kB / 356.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.1306, allocations: 37.7 kB / 356.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.765e-05/0.1307, allocations: 136.6 kB / 356.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/0.1308, allocations: 70.91 kB / 356.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.1309, allocations: 69.69 kB / 356.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1311, allocations: 338.8 kB / 357.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.1314, allocations: 127.9 kB / 357.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.1318, allocations: 158.5 kB / 357.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005971/0.1324, allocations: 268.3 kB / 357.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1324, allocations: 0 / 357.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007994/0.1332, allocations: 374.7 kB / 358 MB, free: 11.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.1332, allocations: 4 kB / 358 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.1332, allocations: 0 / 358 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1332, allocations: 0 / 358 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.1336, allocations: 79.91 kB / 358.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.1336, allocations: 3.938 kB / 358.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.1338, allocations: 35.73 kB / 358.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.1338, allocations: 23.92 kB / 358.2 MB, free: 11.78 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.0001419/0.1339, allocations: 137.6 kB / 358.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.134, allocations: 23.8 kB / 358.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.351e-05/0.1341, allocations: 21.88 kB / 358.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.1341, allocations: 4 kB / 358.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1341, allocations: 0 / 358.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1341, allocations: 0 / 358.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.1352, allocations: 0.6463 MB / 359 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1353, allocations: 0 / 359 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.1355, allocations: 43.95 kB / 359.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1355, allocations: 0 / 359.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.1355, allocations: 4 kB / 359.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.1356, allocations: 4 kB / 359.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1356, allocations: 4 kB / 359.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.1366, allocations: 492.6 kB / 359.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.1366, allocations: 96.86 kB / 359.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.1367, allocations: 8.062 kB / 359.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.1369, allocations: 15.97 kB / 359.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.137, allocations: 19.92 kB / 359.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.137, allocations: 7.984 kB / 359.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.1371, allocations: 155.2 kB / 359.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1371, allocations: 0 / 359.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003582/0.1375, allocations: 63.91 kB / 359.9 MB, free: 9.953 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.0003818/0.1379, allocations: 205.7 kB / 360.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007276/0.1386, allocations: 283.7 kB / 360.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1386, allocations: 4.062 kB / 360.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.1389, allocations: 114.2 kB / 360.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.1393, allocations: 27.92 kB / 360.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008436/0.1401, allocations: 0.5066 MB / 361 MB, free: 8.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.1404, allocations: 0.7398 MB / 361.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.1405, allocations: 25.94 kB / 361.8 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.68e-05/0.1406, allocations: 19.44 kB / 361.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1406, allocations: 4 kB / 361.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of Templates: time 0.005964/0.1466, allocations: 2.81 MB / 364.6 MB, free: 5.207 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches