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.0007679/0.0007682, allocations: 94.12 kB / 17.3 MB, free: 6.391 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.0009257/0.0009261, allocations: 174.5 kB / 18.2 MB, free: 5.551 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.709/1.709, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0006008/0.0006007, allocations: 12 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1378, allocations: 47.58 MB / 329 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.002363/0.1403, allocations: 1.547 MB / 330.5 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.1421, allocations: 0.9942 MB / 331.5 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.1422, allocations: 4 kB / 331.5 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.1423, allocations: 11.86 kB / 331.5 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.1425, allocations: 15.86 kB / 331.5 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.143, allocations: 167.6 kB / 331.7 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.1433, allocations: 211.5 kB / 331.9 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.1435, allocations: 60.05 kB / 332 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1436, allocations: 79.62 kB / 332 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1437, allocations: 95.52 kB / 332.1 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.1438, allocations: 12 kB / 332.1 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.144, allocations: 127.8 kB / 332.3 MB, free: 444 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.1441, allocations: 43.81 kB / 332.3 MB, free: 400 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.1442, allocations: 113.1 kB / 332.4 MB, free: 280 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004135/0.1446, allocations: 283.5 kB / 332.7 MB, free: 15.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.1447, allocations: 4 kB / 332.7 MB, free: 15.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1447, allocations: 0 / 332.7 MB, free: 15.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1447, allocations: 0 / 332.7 MB, free: 15.99 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.001227/0.1459, allocations: 0.5428 MB / 333.2 MB, free: 15.4 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.146, allocations: 8.031 kB / 333.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.1462, allocations: 40.64 kB / 333.3 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.1465, allocations: 236.7 kB / 333.5 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.1466, allocations: 20.66 kB / 333.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.1466, allocations: 16.38 kB / 333.6 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.1471, allocations: 227 kB / 333.8 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1471, allocations: 0 / 333.8 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.1472, allocations: 4 kB / 333.8 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.1472, allocations: 8 kB / 333.8 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/0.1477, allocations: 188 kB / 334 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.1488, allocations: 0.5894 MB / 334.6 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.1499, allocations: 382.6 kB / 334.9 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.1503, allocations: 132.7 kB / 335.1 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.1503, allocations: 8 kB / 335.1 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004139/0.1507, allocations: 179.3 kB / 335.3 MB, free: 13.28 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.1507, allocations: 0 / 335.3 MB, free: 13.28 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001108/0.1518, allocations: 421.1 kB / 335.7 MB, free: 12.86 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.809e-05/0.1519, allocations: 63.45 kB / 335.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.1522, allocations: 207.8 kB / 335.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.1522, allocations: 41.7 kB / 336 MB, free: 12.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1523, allocations: 132.5 kB / 336.1 MB, free: 12.38 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.093e-05/0.1524, allocations: 67.02 kB / 336.2 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.1525, allocations: 41.69 kB / 336.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.1527, allocations: 338.8 kB / 336.5 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.1531, allocations: 151.9 kB / 336.7 MB, free: 11.78 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.1534, allocations: 177.6 kB / 336.9 MB, free: 11.6 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006553/0.1541, allocations: 300.6 kB / 337.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1541, allocations: 3.938 kB / 337.2 MB, free: 11.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008423/0.155, allocations: 410.8 kB / 337.6 MB, free: 10.89 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.155, allocations: 8.031 kB / 337.6 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.155, allocations: 4 kB / 337.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.155, allocations: 0 / 337.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.1553, allocations: 75.88 kB / 337.6 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.1554, allocations: 4 kB / 337.6 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.1556, allocations: 59.59 kB / 337.7 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.1556, allocations: 12 kB / 337.7 MB, free: 10.73 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.0001752/0.1558, allocations: 145.6 kB / 337.9 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.1558, allocations: 19.72 kB / 337.9 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.915e-05/0.1559, allocations: 25.88 kB / 337.9 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1559, allocations: 4 kB / 337.9 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1559, allocations: 0 / 337.9 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1559, allocations: 3.984 kB / 337.9 MB, free: 10.53 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.1571, allocations: 0.6738 MB / 338.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1571, allocations: 0 / 338.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.1574, allocations: 63.89 kB / 338.6 MB, free: 9.734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1574, allocations: 0 / 338.6 MB, free: 9.734 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.1574, allocations: 4 kB / 338.6 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1574, allocations: 0 / 338.6 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1574, allocations: 3.984 kB / 338.7 MB, free: 9.727 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.1586, allocations: 0.5378 MB / 339.2 MB, free: 9.176 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.39e-05/0.1587, allocations: 100.9 kB / 339.3 MB, free: 9.059 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/0.1587, allocations: 11.92 kB / 339.3 MB, free: 9.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.1589, allocations: 28.11 kB / 339.3 MB, free: 9.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/0.159, allocations: 19.91 kB / 339.3 MB, free: 9 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.159, allocations: 12 kB / 339.4 MB, free: 8.988 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.1592, allocations: 151.2 kB / 339.5 MB, free: 8.84 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1592, allocations: 0 / 339.5 MB, free: 8.84 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004146/0.1596, allocations: 67.89 kB / 339.6 MB, free: 8.773 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.0005832/0.1602, allocations: 224.2 kB / 339.8 MB, free: 8.559 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008144/0.161, allocations: 323.8 kB / 340.1 MB, free: 8.242 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.161, allocations: 0 / 340.1 MB, free: 8.242 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.1614, allocations: 131.9 kB / 340.2 MB, free: 8.113 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.1617, allocations: 31.92 kB / 340.3 MB, free: 8.082 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.1628, allocations: 0.5382 MB / 340.8 MB, free: 7.52 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.1632, allocations: 0.732 MB / 341.5 MB, free: 6.762 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.1634, allocations: 41.91 kB / 341.6 MB, free: 6.719 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.1634, allocations: 23.44 kB / 341.6 MB, free: 6.695 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1635, allocations: 0 / 341.6 MB, free: 6.695 MB / 286.1 MB Notification: Performance of Templates: time 0.007336/0.1708, allocations: 2.917 MB / 344.5 MB, free: 3.777 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