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.001612/0.001612, allocations: 115.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002091/0.002091, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.653/1.653, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 59 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1191, allocations: 50.54 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002843/0.122, allocations: 1.344 MB / 360.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007647/0.1228, allocations: 356.5 kB / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.519e-05/0.1228, allocations: 0 / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.1229, allocations: 0 / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.761e-05/0.1229, allocations: 3.938 kB / 360.6 MB, free: 11.63 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.0005119/0.1235, allocations: 87.72 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.572e-05/0.1236, allocations: 19.86 kB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.588e-05/0.1236, allocations: 8 kB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.312e-05/0.1237, allocations: 4 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.938e-05/0.1237, allocations: 7.875 kB / 360.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1237, allocations: 4 kB / 360.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.1239, allocations: 87.91 kB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.124, allocations: 7.984 kB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.124, allocations: 11.92 kB / 360.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.1242, allocations: 79.83 kB / 360.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1242, allocations: 0 / 360.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1242, allocations: 0 / 360.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1243, allocations: 0 / 360.9 MB, free: 11.32 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.000457/0.1247, allocations: 351.4 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1248, allocations: 8.031 kB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.1248, allocations: 0.9375 kB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.125, allocations: 180.2 kB / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.125, allocations: 4.375 kB / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.125, allocations: 384 / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1251, allocations: 30.27 kB / 361.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1251, allocations: 192 / 361.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.1251, allocations: 11.92 kB / 361.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1252, allocations: 0 / 361.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.28e-05/0.1252, allocations: 0 / 361.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.1256, allocations: 252.9 kB / 361.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.979e-05/0.1256, allocations: 26.58 kB / 361.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/0.1257, allocations: 12.86 kB / 361.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.1257, allocations: 0 / 361.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.1258, allocations: 55.39 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1258, allocations: 0 / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001854/0.126, allocations: 61.61 kB / 361.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.1261, allocations: 51.41 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.1262, allocations: 109.8 kB / 362 MB, free: 9.988 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1262, allocations: 25.7 kB / 362.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.1262, allocations: 84.14 kB / 362.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1262, allocations: 7.906 kB / 362.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.1263, allocations: 17.66 kB / 362.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1264, allocations: 318.8 kB / 362.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.1264, allocations: 8 kB / 362.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.354e-05/0.1265, allocations: 25.7 kB / 362.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.351e-05/0.1265, allocations: 29.66 kB / 362.5 MB, free: 9.445 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1265, allocations: 0 / 362.5 MB, free: 9.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.903e-05/0.1266, allocations: 65.47 kB / 362.6 MB, free: 9.375 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1267, allocations: 7.938 kB / 362.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1267, allocations: 0 / 362.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1267, allocations: 4.031 kB / 362.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/0.1267, allocations: 8 kB / 362.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1268, allocations: 0 / 362.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.823e-05/0.1268, allocations: 3.984 kB / 362.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.1268, allocations: 8.375 kB / 362.6 MB, free: 9.344 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 8.974e-05/0.1269, allocations: 113.7 kB / 362.8 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-06/0.1269, allocations: 4 kB / 362.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.1269, allocations: 7.906 kB / 362.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1269, allocations: 0 / 362.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.127, allocations: 8 kB / 362.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.127, allocations: 0 / 362.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.1272, allocations: 290.5 kB / 363.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1272, allocations: 0 / 363.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.1272, allocations: 0 / 363.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1272, allocations: 4 kB / 363.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1272, allocations: 0 / 363.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1273, allocations: 0 / 363.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1273, allocations: 0 / 363.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.1274, allocations: 155.4 kB / 363.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.1274, allocations: 77.11 kB / 363.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.1274, allocations: 3.984 kB / 363.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-05/0.1275, allocations: 0 / 363.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.1275, allocations: 7.938 kB / 363.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1275, allocations: 3.938 kB / 363.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.451e-05/0.1276, allocations: 83.28 kB / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1276, allocations: 0 / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1279, allocations: 31.98 kB / 363.4 MB, free: 8.461 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.0003773/0.1282, allocations: 187.8 kB / 363.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.99e-05/0.1283, allocations: 23.98 kB / 363.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1284, allocations: 0 / 363.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.405e-05/0.1284, allocations: 11.94 kB / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.1286, allocations: 0 / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.1289, allocations: 117.5 kB / 363.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.1291, allocations: 0.6845 MB / 364.4 MB, free: 7.406 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.642e-05/0.1291, allocations: 4 kB / 364.4 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.1291, allocations: 11.42 kB / 364.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1291, allocations: 4.062 kB / 364.5 MB, free: 7.387 MB / 302.1 MB Notification: Performance of Templates: time 0.003257/0.1324, allocations: 0.9336 MB / 365.4 MB, free: 6.453 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 cvode -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