Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 104.7 kB / 17.15 MB, free: 6.305 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.001492/0.001492, allocations: 198 kB / 18.07 MB, free: 5.41 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.718/1.718, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001249/0.001249, allocations: 43.94 kB / 280 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1366, allocations: 46.63 MB / 326.6 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002977/0.1396, allocations: 1.408 MB / 328 MB, free: 3.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008963/0.1405, allocations: 380.5 kB / 328.4 MB, free: 3.105 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.4e-05/0.1406, allocations: 0 / 328.4 MB, free: 3.105 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.776e-05/0.1406, allocations: 0 / 328.4 MB, free: 3.105 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.83e-05/0.1407, allocations: 0 / 328.4 MB, free: 3.105 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.1412, allocations: 71.86 kB / 328.4 MB, free: 3.035 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.425e-05/0.1413, allocations: 15.92 kB / 328.5 MB, free: 3.02 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/0.1414, allocations: 4 kB / 328.5 MB, free: 3.016 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.1414, allocations: 11.94 kB / 328.5 MB, free: 3.004 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.886e-05/0.1414, allocations: 0 / 328.5 MB, free: 3.004 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1415, allocations: 0 / 328.5 MB, free: 3.004 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.1417, allocations: 87.84 kB / 328.6 MB, free: 2.918 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.1417, allocations: 11.94 kB / 328.6 MB, free: 2.906 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.1418, allocations: 3.984 kB / 328.6 MB, free: 2.902 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.142, allocations: 83.81 kB / 328.7 MB, free: 2.82 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.142, allocations: 0 / 328.7 MB, free: 2.82 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.142, allocations: 0 / 328.7 MB, free: 2.82 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.142, allocations: 3.938 kB / 328.7 MB, free: 2.816 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000543/0.1426, allocations: 343.8 kB / 329 MB, free: 2.43 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.1426, allocations: 8.031 kB / 329 MB, free: 2.422 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.1427, allocations: 0.9375 kB / 329 MB, free: 2.422 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.1428, allocations: 184.2 kB / 329.2 MB, free: 2.203 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.1428, allocations: 384 / 329.2 MB, free: 2.203 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.1429, allocations: 4.375 kB / 329.2 MB, free: 2.199 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.143, allocations: 34.2 kB / 329.2 MB, free: 2.16 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.143, allocations: 192 / 329.2 MB, free: 2.16 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.143, allocations: 3.938 kB / 329.2 MB, free: 2.156 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.143, allocations: 7.922 kB / 329.2 MB, free: 2.148 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.789e-05/0.143, allocations: 7.984 kB / 329.2 MB, free: 2.141 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.1435, allocations: 245 kB / 329.5 MB, free: 1.852 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.422e-05/0.1436, allocations: 26.52 kB / 329.5 MB, free: 1.816 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.1436, allocations: 12.86 kB / 329.5 MB, free: 1.801 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.1436, allocations: 0 / 329.5 MB, free: 1.801 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.1438, allocations: 55.39 kB / 329.6 MB, free: 1.734 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 3.056e-06/0.1438, allocations: 0 / 329.6 MB, free: 1.734 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002098/0.144, allocations: 65.56 kB / 329.6 MB, free: 1.664 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.1441, allocations: 55.41 kB / 329.7 MB, free: 1.598 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.78e-05/0.1442, allocations: 105.8 kB / 329.8 MB, free: 1.484 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1442, allocations: 29.7 kB / 329.8 MB, free: 1.449 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.1442, allocations: 84.12 kB / 329.9 MB, free: 1.363 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.1443, allocations: 7.906 kB / 329.9 MB, free: 1.355 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.1443, allocations: 17.72 kB / 329.9 MB, free: 1.332 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1445, allocations: 318.8 kB / 330.2 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.378e-05/0.1445, allocations: 12 kB / 330.3 MB, free: 1 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.658e-05/0.1445, allocations: 13.72 kB / 330.3 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.385e-05/0.1446, allocations: 29.7 kB / 330.3 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1446, allocations: 3.938 kB / 330.3 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.907e-05/0.1447, allocations: 61.53 kB / 330.4 MB, free: 0.875 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1447, allocations: 4 kB / 330.4 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1447, allocations: 32 / 330.4 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1447, allocations: 4 kB / 330.4 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.787e-05/0.1448, allocations: 8 kB / 330.4 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.1448, allocations: 3.938 kB / 330.4 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.085e-05/0.1449, allocations: 4 kB / 330.4 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1449, allocations: 7.984 kB / 330.4 MB, free: 0.8438 MB / 270.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: 4 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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 8.69e-05/0.145, allocations: 113.8 kB / 330.5 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.145, allocations: 0 / 330.5 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.145, allocations: 7.906 kB / 330.5 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.145, allocations: 4 kB / 330.5 MB, free: 0.707 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.145, allocations: 0 / 330.5 MB, free: 0.707 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1451, allocations: 4 kB / 330.5 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.1453, allocations: 282.6 kB / 330.8 MB, free: 380 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1453, allocations: 0 / 330.8 MB, free: 380 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.1453, allocations: 7.938 kB / 330.8 MB, free: 372 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1454, allocations: 0 / 330.8 MB, free: 372 kB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1454, allocations: 7.875 kB / 330.8 MB, free: 364 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1454, allocations: 0 / 330.8 MB, free: 364 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1454, allocations: 0 / 330.8 MB, free: 364 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.1455, allocations: 159.7 kB / 331 MB, free: 188 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.1456, allocations: 77.11 kB / 331 MB, free: 92 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.1456, allocations: 4.359 kB / 331 MB, free: 88 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.274e-05/0.1456, allocations: 4 kB / 331 MB, free: 84 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.1457, allocations: 0 / 331 MB, free: 84 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.1457, allocations: 4 kB / 331.1 MB, free: 80 kB / 270.1 MB Notification: Performance of sorting global known variables: time 7.067e-05/0.1458, allocations: 83.28 kB / 331.1 MB, free: 16 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1458, allocations: 8 kB / 331.1 MB, free: 15.99 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1461, allocations: 23.98 kB / 331.2 MB, free: 15.96 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004366/0.1465, allocations: 181.4 kB / 331.3 MB, free: 15.79 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.1466, allocations: 35.95 kB / 331.4 MB, free: 15.75 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1466, allocations: 0 / 331.4 MB, free: 15.75 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/0.1467, allocations: 4 kB / 331.4 MB, free: 15.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.1469, allocations: 8 kB / 331.4 MB, free: 15.74 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.1472, allocations: 119.1 kB / 331.5 MB, free: 15.6 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.1475, allocations: 0.677 MB / 332.2 MB, free: 14.9 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.619e-05/0.1476, allocations: 8.062 kB / 332.2 MB, free: 14.89 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.1476, allocations: 11.44 kB / 332.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1476, allocations: 0 / 332.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of Templates: time 0.003696/0.1513, allocations: 0.9296 MB / 333.1 MB, free: 13.95 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ImpureGenerator/ImpureGenerator.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches