Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,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.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,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.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 104.4 kB / 18.35 MB, free: 4.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.001318/0.001319, allocations: 191 kB / 19.29 MB, free: 3.715 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.574/1.574, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001269/0.001269, allocations: 51.92 kB / 282.1 MB, free: 2.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1389, allocations: 46.63 MB / 328.7 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.00339/0.1423, allocations: 1.824 MB / 330.6 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.1445, allocations: 1.276 MB / 331.8 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.862e-05/0.1447, allocations: 0 / 331.8 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.1448, allocations: 27.67 kB / 331.9 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.301e-05/0.1449, allocations: 27.73 kB / 331.9 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008786/0.1458, allocations: 319 kB / 332.2 MB, free: 292 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.146, allocations: 223.5 kB / 332.4 MB, free: 68 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.1462, allocations: 64.27 kB / 332.5 MB, free: 4 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.1464, allocations: 95.75 kB / 332.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.1465, allocations: 111.5 kB / 332.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.1466, allocations: 20 kB / 332.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004469/0.147, allocations: 287.4 kB / 333 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.387e-05/0.1471, allocations: 59.81 kB / 333 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1473, allocations: 107.4 kB / 333.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005246/0.1478, allocations: 398.9 kB / 333.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1478, allocations: 3.938 kB / 333.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1478, allocations: 4 kB / 333.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1478, allocations: 0 / 333.5 MB, free: 14.94 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.001197/0.149, allocations: 0.5662 MB / 334.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1491, allocations: 8.031 kB / 334.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/0.1493, allocations: 44.58 kB / 334.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.1496, allocations: 232.8 kB / 334.4 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.1497, allocations: 16.59 kB / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.1497, allocations: 24.38 kB / 334.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.1502, allocations: 195.2 kB / 334.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1502, allocations: 0 / 334.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.1503, allocations: 8 kB / 334.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1503, allocations: 4 kB / 334.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.1507, allocations: 160 kB / 334.8 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.1518, allocations: 0.5816 MB / 335.4 MB, free: 12.97 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.1528, allocations: 302.6 kB / 335.7 MB, free: 12.67 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.1531, allocations: 120.7 kB / 335.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1532, allocations: 0 / 335.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003834/0.1536, allocations: 163.3 kB / 335.9 MB, free: 12.38 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.402e-06/0.1536, allocations: 0 / 335.9 MB, free: 12.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009651/0.1546, allocations: 361.1 kB / 336.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.1546, allocations: 55.41 kB / 336.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.1548, allocations: 219.7 kB / 336.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.1549, allocations: 37.7 kB / 336.6 MB, free: 11.67 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.617e-05/0.155, allocations: 128.7 kB / 336.7 MB, free: 11.54 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.1551, allocations: 74.92 kB / 336.8 MB, free: 11.47 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.1552, allocations: 65.67 kB / 336.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1553, allocations: 334.8 kB / 337.2 MB, free: 11.06 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.1557, allocations: 131.9 kB / 337.3 MB, free: 10.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.156, allocations: 161.4 kB / 337.5 MB, free: 10.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000617/0.1566, allocations: 272.5 kB / 337.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.1567, allocations: 3.938 kB / 337.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000788/0.1575, allocations: 375.1 kB / 338.1 MB, free: 10.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1575, allocations: 4 kB / 338.1 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.1575, allocations: 3.984 kB / 338.1 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.1575, allocations: 4 kB / 338.1 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.1578, allocations: 67.89 kB / 338.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.1579, allocations: 7.922 kB / 338.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.158, allocations: 43.72 kB / 338.2 MB, free: 9.996 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.1581, allocations: 8 kB / 338.3 MB, free: 9.988 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.0001854/0.1583, allocations: 149.6 kB / 338.4 MB, free: 9.832 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.1583, allocations: 15.81 kB / 338.4 MB, free: 9.816 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.956e-05/0.1584, allocations: 21.86 kB / 338.4 MB, free: 9.793 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1584, allocations: 7.938 kB / 338.4 MB, free: 9.785 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1584, allocations: 0 / 338.4 MB, free: 9.785 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1584, allocations: 4 kB / 338.4 MB, free: 9.781 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.1595, allocations: 0.6347 MB / 339.1 MB, free: 9.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1595, allocations: 0 / 339.1 MB, free: 9.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.1597, allocations: 47.91 kB / 339.1 MB, free: 9.043 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1598, allocations: 0 / 339.1 MB, free: 9.043 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.1598, allocations: 7.984 kB / 339.1 MB, free: 9.035 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1598, allocations: 4 kB / 339.1 MB, free: 9.031 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1598, allocations: 0 / 339.1 MB, free: 9.031 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009822/0.1608, allocations: 498.9 kB / 339.6 MB, free: 8.531 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-05/0.1609, allocations: 96.92 kB / 339.7 MB, free: 8.418 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.1609, allocations: 12.06 kB / 339.7 MB, free: 8.406 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.1611, allocations: 27.97 kB / 339.8 MB, free: 8.379 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/0.1612, allocations: 15.92 kB / 339.8 MB, free: 8.363 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.1612, allocations: 15.92 kB / 339.8 MB, free: 8.348 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.1613, allocations: 147.2 kB / 339.9 MB, free: 8.203 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1614, allocations: 0 / 339.9 MB, free: 8.203 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004327/0.1618, allocations: 103.9 kB / 340 MB, free: 8.102 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.0006894/0.1625, allocations: 273.8 kB / 340.3 MB, free: 7.832 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007152/0.1632, allocations: 290.6 kB / 340.6 MB, free: 7.551 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1632, allocations: 0 / 340.6 MB, free: 7.551 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.1635, allocations: 111.9 kB / 340.7 MB, free: 7.441 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.1639, allocations: 35.86 kB / 340.7 MB, free: 7.406 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009564/0.1649, allocations: 438.7 kB / 341.2 MB, free: 6.953 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.1652, allocations: 0.7398 MB / 341.9 MB, free: 6.184 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.1654, allocations: 33.92 kB / 341.9 MB, free: 6.148 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.851e-05/0.1654, allocations: 23.42 kB / 342 MB, free: 6.125 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1654, allocations: 0 / 342 MB, free: 6.125 MB / 286.1 MB Notification: Performance of Templates: time 0.007816/0.1733, allocations: 3.744 MB / 345.7 MB, free: 2.379 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches