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.001073/0.001073, allocations: 104.3 kB / 17.16 MB, free: 6.316 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.001042/0.001042, allocations: 190 kB / 18.07 MB, free: 5.414 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.689/1.689, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001427/0.001428, allocations: 47.92 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1311, allocations: 46.62 MB / 326.6 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.003362/0.1345, allocations: 1.913 MB / 328.5 MB, free: 2.969 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.1365, allocations: 1.002 MB / 329.5 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.455e-05/0.1366, allocations: 4 kB / 329.5 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.1368, allocations: 19.8 kB / 329.5 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.137, allocations: 23.84 kB / 329.6 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.1375, allocations: 159.7 kB / 329.7 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.1377, allocations: 207.5 kB / 329.9 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.1378, allocations: 64.05 kB / 330 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1379, allocations: 95.55 kB / 330.1 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.1381, allocations: 99.58 kB / 330.2 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.1381, allocations: 16 kB / 330.2 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.1384, allocations: 123.8 kB / 330.3 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.1385, allocations: 51.81 kB / 330.4 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.1386, allocations: 91.44 kB / 330.4 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.1391, allocations: 295.3 kB / 330.7 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1391, allocations: 4 kB / 330.7 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1391, allocations: 0 / 330.7 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.1391, allocations: 4 kB / 330.7 MB, free: 0.7227 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.00122/0.1403, allocations: 0.5506 MB / 331.3 MB, free: 128 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1404, allocations: 8.031 kB / 331.3 MB, free: 120 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.1406, allocations: 40.64 kB / 331.3 MB, free: 80 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.1409, allocations: 236.7 kB / 331.6 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.141, allocations: 20.64 kB / 331.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.141, allocations: 20.38 kB / 331.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/0.1415, allocations: 199 kB / 331.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1415, allocations: 0 / 331.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.1415, allocations: 8 kB / 331.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1416, allocations: 4 kB / 331.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004552/0.142, allocations: 156 kB / 332 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.1431, allocations: 0.5816 MB / 332.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.1444, allocations: 302.6 kB / 332.8 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004136/0.1449, allocations: 116.7 kB / 333 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.1449, allocations: 4 kB / 333 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005345/0.1454, allocations: 167.3 kB / 333.1 MB, free: 14.17 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.1455, allocations: 0 / 333.1 MB, free: 14.17 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.00107/0.1465, allocations: 360.5 kB / 333.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.1466, allocations: 67.39 kB / 333.5 MB, free: 13.74 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.1468, allocations: 211.6 kB / 333.8 MB, free: 13.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.1469, allocations: 41.7 kB / 333.8 MB, free: 13.47 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.487e-05/0.1469, allocations: 128.7 kB / 333.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.378e-05/0.147, allocations: 70.92 kB / 334 MB, free: 13.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.1471, allocations: 69.67 kB / 334.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1473, allocations: 334.8 kB / 334.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.1476, allocations: 127.9 kB / 334.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.148, allocations: 165.6 kB / 334.7 MB, free: 12.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006202/0.1486, allocations: 264.6 kB / 334.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1486, allocations: 3.938 kB / 334.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008558/0.1495, allocations: 378.7 kB / 335.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1495, allocations: 8 kB / 335.3 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1495, allocations: 0 / 335.3 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1495, allocations: 0 / 335.3 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.1499, allocations: 75.91 kB / 335.4 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1499, allocations: 0 / 335.4 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.1501, allocations: 43.72 kB / 335.4 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.1501, allocations: 8 kB / 335.4 MB, free: 11.79 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.0001843/0.1503, allocations: 145.6 kB / 335.6 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.1503, allocations: 23.8 kB / 335.6 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.864e-05/0.1504, allocations: 17.88 kB / 335.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1504, allocations: 7.984 kB / 335.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1504, allocations: 0 / 335.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1504, allocations: 3.984 kB / 335.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.1516, allocations: 0.6424 MB / 336.3 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1516, allocations: 0 / 336.3 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.1519, allocations: 47.89 kB / 336.3 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1519, allocations: 0 / 336.3 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.1519, allocations: 4 kB / 336.3 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1519, allocations: 4 kB / 336.3 MB, free: 10.83 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1519, allocations: 4 kB / 336.3 MB, free: 10.83 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009988/0.1529, allocations: 483.9 kB / 336.8 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.152e-05/0.153, allocations: 100.9 kB / 336.9 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.1531, allocations: 7.938 kB / 336.9 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.1532, allocations: 19.97 kB / 336.9 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.1533, allocations: 11.98 kB / 336.9 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1533, allocations: 11.98 kB / 337 MB, free: 10.17 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001449/0.1535, allocations: 155.2 kB / 337.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1535, allocations: 3.938 kB / 337.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003895/0.1539, allocations: 67.89 kB / 337.2 MB, free: 9.949 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.0004742/0.1544, allocations: 225.1 kB / 337.4 MB, free: 9.73 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000802/0.1552, allocations: 287.4 kB / 337.7 MB, free: 9.449 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1552, allocations: 0 / 337.7 MB, free: 9.449 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.1556, allocations: 115.9 kB / 337.8 MB, free: 9.336 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.1559, allocations: 19.94 kB / 337.8 MB, free: 9.316 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008999/0.1569, allocations: 0.5105 MB / 338.3 MB, free: 8.781 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.1573, allocations: 0.7398 MB / 339.1 MB, free: 8.016 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.1574, allocations: 33.88 kB / 339.1 MB, free: 7.98 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.1575, allocations: 23.42 kB / 339.1 MB, free: 7.957 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1575, allocations: 4 kB / 339.1 MB, free: 7.953 MB / 286.1 MB Notification: Performance of Templates: time 0.006707/0.1642, allocations: 2.96 MB / 342.1 MB, free: 4.992 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","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches