Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 115.8 kB / 18.4 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001131/0.001131, allocations: 211.5 kB / 19.35 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 58.75 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1271, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002457/0.1296, allocations: 1.354 MB / 360.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006905/0.1303, allocations: 348.5 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.1304, allocations: 0 / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.1304, allocations: 3.938 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.292e-05/0.1305, allocations: 3.984 kB / 360.6 MB, free: 11.61 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.1309, allocations: 87.67 kB / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.718e-05/0.131, allocations: 11.98 kB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.1311, allocations: 4 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.599e-05/0.1311, allocations: 11.94 kB / 360.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.65e-05/0.1311, allocations: 15.91 kB / 360.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.1312, allocations: 4 kB / 360.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.1313, allocations: 79.86 kB / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.1313, allocations: 8 kB / 360.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.1314, allocations: 7.922 kB / 360.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1316, allocations: 87.81 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1316, allocations: 3.938 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1316, allocations: 0 / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1316, allocations: 0 / 360.9 MB, free: 11.3 MB / 302.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.0003896/0.132, allocations: 347.5 kB / 361.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.132, allocations: 8.031 kB / 361.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.1321, allocations: 0.9375 kB / 361.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.1322, allocations: 180.2 kB / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1322, allocations: 4.312 kB / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.1322, allocations: 384 / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.6e-05/0.1323, allocations: 42.23 kB / 361.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.1324, allocations: 4.188 kB / 361.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1324, allocations: 3.938 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1324, allocations: 4 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.984e-05/0.1324, allocations: 0 / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.1327, allocations: 241 kB / 361.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.195e-05/0.1328, allocations: 30.52 kB / 361.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.1328, allocations: 16.86 kB / 361.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.1328, allocations: 0 / 361.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.133, allocations: 55.39 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.133, allocations: 0 / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001704/0.1332, allocations: 57.62 kB / 361.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.1332, allocations: 51.41 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.339e-05/0.1333, allocations: 105.8 kB / 362 MB, free: 9.973 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.1333, allocations: 25.7 kB / 362.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.1334, allocations: 88.14 kB / 362.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.1334, allocations: 7.906 kB / 362.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.1334, allocations: 21.7 kB / 362.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1336, allocations: 314.8 kB / 362.5 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.1336, allocations: 8 kB / 362.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.1336, allocations: 21.7 kB / 362.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.562e-05/0.1337, allocations: 25.66 kB / 362.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1337, allocations: 4 kB / 362.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.896e-05/0.1338, allocations: 65.53 kB / 362.6 MB, free: 9.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1338, allocations: 4 kB / 362.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1338, allocations: 0 / 362.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1338, allocations: 0 / 362.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.279e-05/0.1339, allocations: 11.94 kB / 362.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1339, allocations: 3.984 kB / 362.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.1339, allocations: 3.938 kB / 362.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1339, allocations: 4 kB / 362.6 MB, free: 9.332 MB / 302.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 0.0001191/0.1341, allocations: 129.7 kB / 362.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.1341, allocations: 0 / 362.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.1341, allocations: 3.906 kB / 362.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1341, allocations: 0 / 362.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1341, allocations: 0 / 362.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1341, allocations: 0 / 362.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.1344, allocations: 286.8 kB / 363 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1345, allocations: 3.938 kB / 363 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.367e-05/0.1345, allocations: 4 kB / 363 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1345, allocations: 4.031 kB / 363.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1345, allocations: 4.375 kB / 363.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1345, allocations: 0 / 363.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1345, allocations: 0 / 363.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.1346, allocations: 155.4 kB / 363.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.1347, allocations: 81.09 kB / 363.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.1347, allocations: 0 / 363.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.172e-05/0.1347, allocations: 0 / 363.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/0.1348, allocations: 4 kB / 363.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.1348, allocations: 8 kB / 363.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.389e-05/0.1348, allocations: 83.27 kB / 363.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1348, allocations: 0 / 363.4 MB, free: 8.473 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1351, allocations: 28 kB / 363.4 MB, free: 8.445 MB / 302.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.0003869/0.1355, allocations: 186 kB / 363.6 MB, free: 8.277 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.993e-05/0.1356, allocations: 19.98 kB / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1356, allocations: 0 / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.393e-05/0.1357, allocations: 12 kB / 363.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.1359, allocations: 3.938 kB / 363.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.1362, allocations: 125.3 kB / 363.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.1366, allocations: 0.6884 MB / 364.4 MB, free: 7.379 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.263e-05/0.1366, allocations: 7.984 kB / 364.4 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.1367, allocations: 7.438 kB / 364.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1367, allocations: 0 / 364.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of Templates: time 0.003529/0.1402, allocations: 0.9443 MB / 365.4 MB, free: 6.422 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches