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.001109/0.001109, allocations: 101 kB / 16.94 MB, free: 5.98 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.00114/0.00114, allocations: 178.1 kB / 17.82 MB, free: 5.652 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.739/1.739, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004867/0.0004868, allocations: 12 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.118, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.002319/0.1204, allocations: 1.506 MB / 329.8 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1224, allocations: 1.206 MB / 331 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.452e-05/0.1225, allocations: 0 / 331 MB, free: 1.363 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.1226, allocations: 15.86 kB / 331.1 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.073e-05/0.1227, allocations: 23.89 kB / 331.1 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007161/0.1234, allocations: 239.3 kB / 331.3 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1236, allocations: 123.7 kB / 331.4 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.1238, allocations: 60.03 kB / 331.5 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1239, allocations: 79.67 kB / 331.6 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.1241, allocations: 87.59 kB / 331.7 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.1241, allocations: 12 kB / 331.7 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004478/0.1246, allocations: 283.6 kB / 331.9 MB, free: 468 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.785e-05/0.1246, allocations: 43.83 kB / 332 MB, free: 424 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.103e-05/0.1247, allocations: 49.58 kB / 332 MB, free: 368 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.1251, allocations: 271.7 kB / 332.3 MB, free: 96 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1251, allocations: 0 / 332.3 MB, free: 96 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1251, allocations: 0 / 332.3 MB, free: 96 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1251, allocations: 0 / 332.3 MB, free: 96 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.001117/0.1262, allocations: 0.57 MB / 332.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1263, allocations: 8.031 kB / 332.9 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.1265, allocations: 35.7 kB / 332.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.1268, allocations: 231.5 kB / 333.1 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/0.1268, allocations: 16.28 kB / 333.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.1268, allocations: 19.94 kB / 333.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.1273, allocations: 218.9 kB / 333.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1273, allocations: 0 / 333.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.1274, allocations: 4 kB / 333.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1274, allocations: 8 kB / 333.4 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004805/0.1279, allocations: 176.1 kB / 333.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.129, allocations: 0.5933 MB / 334.2 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.1301, allocations: 374.8 kB / 334.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.1301, allocations: 7.984 kB / 334.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004206/0.1305, allocations: 183.8 kB / 334.7 MB, free: 13.51 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.1305, allocations: 0 / 334.7 MB, free: 13.51 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.00105/0.1316, allocations: 497.4 kB / 335.2 MB, free: 13 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.1317, allocations: 59.34 kB / 335.3 MB, free: 12.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.1319, allocations: 207.8 kB / 335.5 MB, free: 12.71 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.1319, allocations: 41.69 kB / 335.5 MB, free: 12.66 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.132, allocations: 128.6 kB / 335.6 MB, free: 12.54 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.742e-05/0.1321, allocations: 78.94 kB / 335.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/0.1321, allocations: 4 kB / 335.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.1324, allocations: 334.8 kB / 336 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.1327, allocations: 151.8 kB / 336.2 MB, free: 11.97 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.1331, allocations: 185.4 kB / 336.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.1334, allocations: 149.2 kB / 336.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1334, allocations: 0 / 336.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008177/0.1343, allocations: 416 kB / 336.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1343, allocations: 11.97 kB / 336.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1343, allocations: 0 / 336.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1343, allocations: 4 kB / 336.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.1346, allocations: 75.88 kB / 337 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1347, allocations: 4 kB / 337 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.1349, allocations: 47.67 kB / 337.1 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.1349, allocations: 15.98 kB / 337.1 MB, free: 11.07 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.0001631/0.1351, allocations: 142 kB / 337.2 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.1351, allocations: 27.67 kB / 337.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.671e-05/0.1352, allocations: 25.86 kB / 337.3 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1352, allocations: 0 / 337.3 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.1352, allocations: 4 kB / 337.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1352, allocations: 4 kB / 337.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.1364, allocations: 0.6688 MB / 337.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1364, allocations: 4 kB / 337.9 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.1367, allocations: 59.89 kB / 338 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1367, allocations: 4 kB / 338 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.1367, allocations: 0 / 338 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1367, allocations: 0 / 338 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1367, allocations: 0 / 338 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.1378, allocations: 0.5428 MB / 338.6 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.438e-05/0.1379, allocations: 92.86 kB / 338.6 MB, free: 9.402 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.138, allocations: 19.98 kB / 338.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.1382, allocations: 27.98 kB / 338.7 MB, free: 9.355 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.1382, allocations: 15.97 kB / 338.7 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.1383, allocations: 4 kB / 338.7 MB, free: 9.336 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1384, allocations: 147.2 kB / 338.9 MB, free: 9.191 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1384, allocations: 0 / 338.9 MB, free: 9.191 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004783/0.1389, allocations: 104 kB / 339 MB, free: 9.09 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.0007473/0.1397, allocations: 299.8 kB / 339.2 MB, free: 8.801 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008214/0.1405, allocations: 312 kB / 339.6 MB, free: 8.496 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1405, allocations: 8 kB / 339.6 MB, free: 8.488 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.1408, allocations: 135.9 kB / 339.7 MB, free: 8.355 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.1411, allocations: 27.86 kB / 339.7 MB, free: 8.328 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009046/0.142, allocations: 0.5148 MB / 340.2 MB, free: 7.789 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.1423, allocations: 0.7476 MB / 341 MB, free: 7.016 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.1425, allocations: 25.94 kB / 341 MB, free: 6.988 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.816e-05/0.1426, allocations: 23.44 kB / 341 MB, free: 6.969 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1426, allocations: 4 kB / 341 MB, free: 6.965 MB / 286.1 MB Notification: Performance of Templates: time 0.007474/0.15, allocations: 3.506 MB / 344.5 MB, free: 3.457 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile Environment - environmentSimulation: (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches