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.0009753/0.0009749, allocations: 93.17 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.001203/0.001203, allocations: 174.2 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.911/1.911, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004854/0.0004855, allocations: 12 kB / 281.4 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1271, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.00267/0.1299, allocations: 1.559 MB / 330.5 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002733/0.1326, allocations: 1.275 MB / 331.8 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.1328, allocations: 4 kB / 331.8 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.1329, allocations: 7.875 kB / 331.8 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.133, allocations: 19.86 kB / 331.8 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009351/0.134, allocations: 259.5 kB / 332.1 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.1343, allocations: 211.4 kB / 332.3 MB, free: 416 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.1345, allocations: 56.06 kB / 332.3 MB, free: 360 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1347, allocations: 75.69 kB / 332.4 MB, free: 284 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.1348, allocations: 103.5 kB / 332.5 MB, free: 180 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.1349, allocations: 8 kB / 332.5 MB, free: 172 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005604/0.1355, allocations: 303.5 kB / 332.8 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.402e-05/0.1356, allocations: 47.75 kB / 332.9 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.1357, allocations: 113.2 kB / 333 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005464/0.1363, allocations: 387 kB / 333.4 MB, free: 15.33 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1363, allocations: 4 kB / 333.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1363, allocations: 0 / 333.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1363, allocations: 0 / 333.4 MB, free: 15.32 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.001324/0.1376, allocations: 0.5585 MB / 333.9 MB, free: 14.72 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.1377, allocations: 12.03 kB / 333.9 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000244/0.138, allocations: 40.64 kB / 334 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.1383, allocations: 240.8 kB / 334.2 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.1383, allocations: 12.66 kB / 334.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.1384, allocations: 20.38 kB / 334.2 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.1389, allocations: 223 kB / 334.5 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1389, allocations: 0 / 334.5 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.1389, allocations: 8 kB / 334.5 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1389, allocations: 0 / 334.5 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.1394, allocations: 192 kB / 334.7 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.1406, allocations: 0.5855 MB / 335.2 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.1419, allocations: 374.6 kB / 335.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.1422, allocations: 136.7 kB / 335.7 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.1423, allocations: 11.98 kB / 335.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004529/0.1427, allocations: 179.3 kB / 335.9 MB, free: 12.6 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 2.294e-06/0.1428, allocations: 0 / 335.9 MB, free: 12.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001086/0.1438, allocations: 413.1 kB / 336.3 MB, free: 12.19 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.1439, allocations: 67.45 kB / 336.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.1442, allocations: 207.8 kB / 336.6 MB, free: 11.89 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.1442, allocations: 37.7 kB / 336.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.1443, allocations: 128.5 kB / 336.8 MB, free: 11.71 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.851e-05/0.1444, allocations: 71.02 kB / 336.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-05/0.1445, allocations: 41.69 kB / 336.9 MB, free: 11.6 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1446, allocations: 334.8 kB / 337.2 MB, free: 11.26 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/0.145, allocations: 151.9 kB / 337.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.1454, allocations: 177.6 kB / 337.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/0.1461, allocations: 304.6 kB / 337.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.1461, allocations: 7.875 kB / 337.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008599/0.1469, allocations: 410.8 kB / 338.2 MB, free: 10.22 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.147, allocations: 4 kB / 338.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.147, allocations: 0 / 338.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.147, allocations: 4 kB / 338.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.1473, allocations: 79.89 kB / 338.3 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.1473, allocations: 7.984 kB / 338.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1475, allocations: 43.73 kB / 338.4 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.1476, allocations: 19.97 kB / 338.4 MB, free: 10.06 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.0001492/0.1477, allocations: 145.6 kB / 338.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.1478, allocations: 19.72 kB / 338.5 MB, free: 9.891 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.734e-05/0.1478, allocations: 25.86 kB / 338.6 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1478, allocations: 0 / 338.6 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.1479, allocations: 0 / 338.6 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1479, allocations: 11.98 kB / 338.6 MB, free: 9.852 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.1491, allocations: 0.6815 MB / 339.3 MB, free: 9.113 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1491, allocations: 0 / 339.3 MB, free: 9.113 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.1493, allocations: 51.89 kB / 339.3 MB, free: 9.062 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1493, allocations: 11.94 kB / 339.3 MB, free: 9.051 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.1494, allocations: 4 kB / 339.3 MB, free: 9.047 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1494, allocations: 4 kB / 339.3 MB, free: 9.043 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1494, allocations: 0 / 339.3 MB, free: 9.043 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.1504, allocations: 0.5389 MB / 339.9 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.1505, allocations: 92.86 kB / 340 MB, free: 8.379 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.1505, allocations: 24.05 kB / 340 MB, free: 8.355 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.1507, allocations: 23.98 kB / 340 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.1508, allocations: 19.97 kB / 340 MB, free: 8.312 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.1508, allocations: 8 kB / 340 MB, free: 8.305 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1509, allocations: 147.2 kB / 340.2 MB, free: 8.16 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.151, allocations: 0 / 340.2 MB, free: 8.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005037/0.1515, allocations: 107.9 kB / 340.3 MB, free: 8.055 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.0007242/0.1522, allocations: 283.8 kB / 340.6 MB, free: 7.781 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000747/0.1529, allocations: 323.1 kB / 340.9 MB, free: 7.469 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.153, allocations: 0 / 340.9 MB, free: 7.469 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.1533, allocations: 135.9 kB / 341 MB, free: 7.336 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.1536, allocations: 27.92 kB / 341 MB, free: 7.309 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008714/0.1545, allocations: 0.5343 MB / 341.6 MB, free: 6.75 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.1548, allocations: 0.7398 MB / 342.3 MB, free: 5.984 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.155, allocations: 33.92 kB / 342.3 MB, free: 5.949 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.925e-05/0.155, allocations: 27.42 kB / 342.4 MB, free: 5.922 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1551, allocations: 0 / 342.4 MB, free: 5.922 MB / 286.1 MB Notification: Performance of Templates: time 0.007861/0.1629, allocations: 3.572 MB / 345.9 MB, free: 2.348 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 -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/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