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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001713/0.001713, allocations: 78.33 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002244/0.002244, allocations: 162 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] 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=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 62.28 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1293, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.003246/0.1326, allocations: 1.364 MB / 380.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000804/0.1334, allocations: 341 kB / 380.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.1334, allocations: 0 / 380.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.1334, allocations: 3.938 kB / 380.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.908e-05/0.1335, allocations: 15.92 kB / 380.6 MB, free: 13.74 MB / 350.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.0005264/0.134, allocations: 91.72 kB / 380.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.897e-05/0.1341, allocations: 15.92 kB / 380.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.1341, allocations: 7.984 kB / 380.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.744e-05/0.1341, allocations: 4 kB / 380.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.395e-05/0.1342, allocations: 3.938 kB / 380.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.1342, allocations: 0 / 380.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.1345, allocations: 127.7 kB / 380.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.1345, allocations: 0 / 380.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.1345, allocations: 11.94 kB / 380.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.1347, allocations: 91.69 kB / 381 MB, free: 13.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1347, allocations: 0 / 381 MB, free: 13.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1347, allocations: 0 / 381 MB, free: 13.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1347, allocations: 0 / 381 MB, free: 13.39 MB / 350.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.0004161/0.1351, allocations: 270.2 kB / 381.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1352, allocations: 11.98 kB / 381.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.1352, allocations: 0.9375 kB / 381.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1353, allocations: 118.4 kB / 381.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1353, allocations: 384 / 381.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.1353, allocations: 8.375 kB / 381.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1354, allocations: 34.25 kB / 381.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1355, allocations: 4.188 kB / 381.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1355, allocations: 3.938 kB / 381.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1355, allocations: 0 / 381.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.188e-05/0.1355, allocations: 4 kB / 381.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.1359, allocations: 196.6 kB / 381.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.658e-05/0.1359, allocations: 26.45 kB / 381.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.678e-05/0.136, allocations: 12.92 kB / 381.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.643e-06/0.136, allocations: 0 / 381.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.1361, allocations: 59.34 kB / 381.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.1361, allocations: 4 kB / 381.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000187/0.1363, allocations: 57.61 kB / 381.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.1363, allocations: 51.41 kB / 381.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.09e-05/0.1364, allocations: 105.8 kB / 381.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.1365, allocations: 29.7 kB / 381.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.1365, allocations: 84.14 kB / 382 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.1365, allocations: 3.953 kB / 382 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.1366, allocations: 17.72 kB / 382.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1367, allocations: 318.8 kB / 382.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/0.1367, allocations: 4 kB / 382.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.1368, allocations: 26.09 kB / 382.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.389e-05/0.1368, allocations: 37.81 kB / 382.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1368, allocations: 4 kB / 382.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001069/0.1369, allocations: 61.58 kB / 382.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.137, allocations: 4 kB / 382.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.137, allocations: 0 / 382.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.137, allocations: 4 kB / 382.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.804e-05/0.137, allocations: 11.88 kB / 382.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.137, allocations: 0 / 382.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.1371, allocations: 4 kB / 382.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.1371, allocations: 4.031 kB / 382.5 MB, free: 11.65 MB / 350.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.596e-05/0.1371, allocations: 117.8 kB / 382.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-06/0.1372, allocations: 3.938 kB / 382.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.1372, allocations: 4 kB / 382.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1372, allocations: 4 kB / 382.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1372, allocations: 0 / 382.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1372, allocations: 0 / 382.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.1374, allocations: 234.2 kB / 382.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1374, allocations: 0 / 382.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-05/0.1375, allocations: 4 kB / 382.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1375, allocations: 4 kB / 382.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.1375, allocations: 0 / 382.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1375, allocations: 0 / 382.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1375, allocations: 0 / 382.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.1376, allocations: 159.4 kB / 383 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-06/0.1376, allocations: 4 kB / 383 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.1376, allocations: 0 / 383 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.346e-05/0.1377, allocations: 0 / 383 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.1377, allocations: 8 kB / 383.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1377, allocations: 0 / 383.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.484e-05/0.1378, allocations: 87.2 kB / 383.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1378, allocations: 4 kB / 383.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.138, allocations: 27.94 kB / 383.2 MB, free: 10.93 MB / 350.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.0004447/0.1385, allocations: 184.6 kB / 383.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.1386, allocations: 23.98 kB / 383.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1386, allocations: 0 / 383.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.683e-05/0.1386, allocations: 11.94 kB / 383.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.1388, allocations: 7.938 kB / 383.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.1391, allocations: 101.6 kB / 383.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.063e-05/0.1392, allocations: 63.34 kB / 383.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.634e-05/0.1392, allocations: 7.984 kB / 383.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.794e-05/0.1392, allocations: 8.5 kB / 383.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1392, allocations: 4 kB / 383.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Templates: time 0.003936/0.1432, allocations: 0.9552 MB / 384.5 MB, free: 9.555 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (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 ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.528808640083298]