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: translateModel(Modelica.Blocks.Examples.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001328, allocations: 97.38 kB / 16.94 MB, free: 6.441 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.001422/0.001422, allocations: 189.7 kB / 17.83 MB, free: 6.008 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.74/1.74, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004806/0.0004806, allocations: 15.28 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1167, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.002116/0.1189, allocations: 1.51 MB / 329.8 MB, free: 2.574 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.1205, allocations: 0.944 MB / 330.8 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.442e-05/0.1207, allocations: 8 kB / 330.8 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.1208, allocations: 15.8 kB / 330.8 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.121, allocations: 19.97 kB / 330.8 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.1214, allocations: 143.6 kB / 331 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.1216, allocations: 123.7 kB / 331.1 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.1218, allocations: 56.06 kB / 331.1 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1219, allocations: 79.67 kB / 331.2 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.1221, allocations: 95.62 kB / 331.3 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.1221, allocations: 8 kB / 331.3 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.1223, allocations: 95.8 kB / 331.4 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.1224, allocations: 39.83 kB / 331.5 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.247e-05/0.1225, allocations: 53.64 kB / 331.5 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.1227, allocations: 207.8 kB / 331.7 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1228, allocations: 8 kB / 331.7 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1228, allocations: 0 / 331.7 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1228, allocations: 7.875 kB / 331.7 MB, free: 0.6719 MB / 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.001035/0.1238, allocations: 0.5426 MB / 332.3 MB, free: 84 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1239, allocations: 12.03 kB / 332.3 MB, free: 72 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.1241, allocations: 39.7 kB / 332.3 MB, free: 32 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.1244, allocations: 231.5 kB / 332.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.1244, allocations: 20.27 kB / 332.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.992e-05/0.1245, allocations: 23.98 kB / 332.6 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.125, allocations: 214.9 kB / 332.8 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.125, allocations: 0 / 332.8 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.1251, allocations: 4 kB / 332.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.1251, allocations: 4 kB / 332.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.1255, allocations: 176.1 kB / 333 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.1266, allocations: 0.5933 MB / 333.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.1277, allocations: 374.8 kB / 333.9 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.1277, allocations: 7.938 kB / 333.9 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004195/0.1281, allocations: 187.8 kB / 334.1 MB, free: 14.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.1281, allocations: 0 / 334.1 MB, free: 14.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001084/0.1292, allocations: 489.5 kB / 334.6 MB, free: 13.61 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.1293, allocations: 59.34 kB / 334.7 MB, free: 13.54 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.1295, allocations: 215.8 kB / 334.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.1296, allocations: 41.7 kB / 334.9 MB, free: 13.26 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.1297, allocations: 128.5 kB / 335 MB, free: 13.13 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.1297, allocations: 75 kB / 335.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.503e-05/0.1298, allocations: 4 kB / 335.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1299, allocations: 334.8 kB / 335.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.1302, allocations: 147.9 kB / 335.6 MB, free: 12.57 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.1306, allocations: 185.4 kB / 335.8 MB, free: 12.38 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.131, allocations: 149.2 kB / 335.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.131, allocations: 0 / 335.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008343/0.1318, allocations: 420 kB / 336.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1318, allocations: 4 kB / 336.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1319, allocations: 0 / 336.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1319, allocations: 4 kB / 336.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.1322, allocations: 79.89 kB / 336.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1322, allocations: 4 kB / 336.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.1324, allocations: 51.66 kB / 336.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.1324, allocations: 12 kB / 336.5 MB, free: 11.67 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,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001607/0.1326, allocations: 146 kB / 336.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.1326, allocations: 23.67 kB / 336.6 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.622e-05/0.1327, allocations: 25.86 kB / 336.7 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1327, allocations: 3.938 kB / 336.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.1327, allocations: 0 / 336.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1327, allocations: 4 kB / 336.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.1339, allocations: 0.6816 MB / 337.4 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1339, allocations: 0 / 337.4 MB, free: 10.72 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.1342, allocations: 47.95 kB / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1342, allocations: 8 kB / 337.4 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.1342, allocations: 11.97 kB / 337.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1342, allocations: 0 / 337.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1342, allocations: 0 / 337.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.1353, allocations: 0.5459 MB / 338 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.1354, allocations: 100.8 kB / 338.1 MB, free: 9.98 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.1354, allocations: 8.062 kB / 338.1 MB, free: 9.973 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.1356, allocations: 23.97 kB / 338.1 MB, free: 9.949 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.1357, allocations: 19.98 kB / 338.1 MB, free: 9.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1357, allocations: 4 kB / 338.1 MB, free: 9.926 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1358, allocations: 147.2 kB / 338.3 MB, free: 9.781 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1358, allocations: 4 kB / 338.3 MB, free: 9.777 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003857/0.1362, allocations: 64 kB / 338.3 MB, free: 9.715 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004415/0.1367, allocations: 228.6 kB / 338.6 MB, free: 9.492 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007297/0.1374, allocations: 322.7 kB / 338.9 MB, free: 9.18 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1374, allocations: 0 / 338.9 MB, free: 9.18 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003002/0.1377, allocations: 135.9 kB / 339 MB, free: 9.047 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.138, allocations: 19.98 kB / 339 MB, free: 9.027 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009347/0.139, allocations: 0.5148 MB / 339.5 MB, free: 8.488 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.1393, allocations: 0.7476 MB / 340.3 MB, free: 7.715 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.1395, allocations: 29.94 kB / 340.3 MB, free: 7.684 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.1396, allocations: 23.42 kB / 340.3 MB, free: 7.664 MB / 286.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1396, allocations: 3.938 kB / 340.3 MB, free: 7.66 MB / 286.1 MB Notification: Performance of Templates: time 0.006828/0.1464, allocations: 2.846 MB / 343.2 MB, free: 4.812 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile Environment - environmentSimulation: (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 & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat","/var/lib/jenkins/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