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.001303/0.001303, allocations: 96.77 kB / 17.58 MB, free: 5.453 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.001209/0.001209, allocations: 191.9 kB / 18.51 MB, free: 4.527 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.534/1.534, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001463/0.001463, allocations: 55.92 kB / 280.7 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1226, allocations: 46.63 MB / 327.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.003453/0.1261, allocations: 1.832 MB / 329.1 MB, free: 2.629 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1281, allocations: 0.9948 MB / 330.1 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.1283, allocations: 4 kB / 330.1 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.1285, allocations: 19.73 kB / 330.1 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.1287, allocations: 27.73 kB / 330.2 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007647/0.1295, allocations: 191.5 kB / 330.3 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.1298, allocations: 227.4 kB / 330.6 MB, free: 1.164 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.13, allocations: 60.05 kB / 330.6 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.1301, allocations: 99.67 kB / 330.7 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1303, allocations: 119.4 kB / 330.8 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.1303, allocations: 24 kB / 330.9 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.1306, allocations: 135.9 kB / 331 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.011e-05/0.1307, allocations: 63.75 kB / 331.1 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1308, allocations: 103.4 kB / 331.2 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.1312, allocations: 291.4 kB / 331.4 MB, free: 292 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1312, allocations: 0 / 331.4 MB, free: 292 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1312, allocations: 0 / 331.4 MB, free: 292 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1312, allocations: 0 / 331.4 MB, free: 292 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.001077/0.1323, allocations: 0.5661 MB / 332 MB, free: 15.67 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1324, allocations: 12.03 kB / 332 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002201/0.1326, allocations: 32.64 kB / 332.1 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.1328, allocations: 240.8 kB / 332.3 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.1329, allocations: 16.64 kB / 332.3 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.1329, allocations: 20.38 kB / 332.3 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.1334, allocations: 203 kB / 332.5 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1334, allocations: 3.938 kB / 332.5 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.1334, allocations: 4 kB / 332.5 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1334, allocations: 4 kB / 332.5 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/0.1339, allocations: 156.1 kB / 332.7 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009707/0.1349, allocations: 0.5815 MB / 333.3 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.1359, allocations: 302.7 kB / 333.6 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.1362, allocations: 124.7 kB / 333.7 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1362, allocations: 4 kB / 333.7 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003975/0.1366, allocations: 163.3 kB / 333.8 MB, free: 13.71 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.874e-06/0.1366, allocations: 0 / 333.8 MB, free: 13.71 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009642/0.1376, allocations: 353.1 kB / 334.2 MB, free: 13.36 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.1377, allocations: 59.41 kB / 334.3 MB, free: 13.29 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1379, allocations: 219.6 kB / 334.5 MB, free: 13.06 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.1379, allocations: 37.78 kB / 334.5 MB, free: 13.02 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.453e-05/0.138, allocations: 132.6 kB / 334.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.1381, allocations: 66.92 kB / 334.7 MB, free: 12.82 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.1382, allocations: 69.69 kB / 334.8 MB, free: 12.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1384, allocations: 330.8 kB / 335.1 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.1387, allocations: 135.9 kB / 335.2 MB, free: 12.28 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.139, allocations: 165.4 kB / 335.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006166/0.1397, allocations: 260.6 kB / 335.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1397, allocations: 7.938 kB / 335.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007995/0.1405, allocations: 378.7 kB / 336 MB, free: 11.47 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1405, allocations: 7.281 kB / 336 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.1405, allocations: 7.984 kB / 336 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1406, allocations: 0 / 336 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.1409, allocations: 67.91 kB / 336.1 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1409, allocations: 8 kB / 336.1 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.1411, allocations: 35.67 kB / 336.1 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.1411, allocations: 15.98 kB / 336.2 MB, free: 11.34 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.0001878/0.1413, allocations: 149.6 kB / 336.3 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.1413, allocations: 15.81 kB / 336.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.45e-05/0.1414, allocations: 29.86 kB / 336.3 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1414, allocations: 0 / 336.3 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.1414, allocations: 4 kB / 336.3 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1415, allocations: 0 / 336.3 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.1427, allocations: 0.6463 MB / 337 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1427, allocations: 0 / 337 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.1429, allocations: 39.95 kB / 337 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1429, allocations: 0 / 337 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.143, allocations: 7.938 kB / 337 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.143, allocations: 0 / 337 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.143, allocations: 3.938 kB / 337 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.144, allocations: 492 kB / 337.5 MB, free: 9.879 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.329e-05/0.1441, allocations: 100.9 kB / 337.6 MB, free: 9.762 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.1441, allocations: 7.938 kB / 337.6 MB, free: 9.754 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.1443, allocations: 23.97 kB / 337.7 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.1444, allocations: 11.98 kB / 337.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1444, allocations: 11.98 kB / 337.7 MB, free: 9.707 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.1445, allocations: 147.2 kB / 337.8 MB, free: 9.562 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1445, allocations: 4 kB / 337.8 MB, free: 9.559 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003862/0.1449, allocations: 67.91 kB / 337.9 MB, free: 9.492 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.000535/0.1455, allocations: 225.4 kB / 338.1 MB, free: 9.273 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007738/0.1463, allocations: 299.4 kB / 338.4 MB, free: 8.98 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1463, allocations: 0 / 338.4 MB, free: 8.98 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.1466, allocations: 115.9 kB / 338.5 MB, free: 8.867 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1469, allocations: 23.94 kB / 338.5 MB, free: 8.844 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009375/0.1479, allocations: 462.7 kB / 339 MB, free: 8.367 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1482, allocations: 0.7359 MB / 339.7 MB, free: 7.602 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000125/0.1483, allocations: 33.92 kB / 339.8 MB, free: 7.566 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.268e-05/0.1484, allocations: 31.42 kB / 339.8 MB, free: 7.535 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1484, allocations: 0 / 339.8 MB, free: 7.535 MB / 286.1 MB Notification: Performance of Templates: time 0.007406/0.1558, allocations: 3.089 MB / 342.9 MB, free: 4.445 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile (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) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches