Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009545/0.0009545, allocations: 77.14 kB / 21.5 MB, free: 2.832 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009197/0.0009197, allocations: 140.9 kB / 24.89 MB, free: 9.277 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9054/0.9054, allocations: 173.4 MB / 201.5 MB, free: 8.262 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 268.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.884e-05, allocations: 3.125 kB / 268.5 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.001909/0.001938, allocations: 1.371 MB / 269.8 MB, free: 8.414 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006029/0.002541, allocations: 362.7 kB / 270.2 MB, free: 8.059 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.002571, allocations: 0 / 270.2 MB, free: 8.059 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.002595, allocations: 3.938 kB / 270.2 MB, free: 8.055 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.316e-05/0.002658, allocations: 8.922 kB / 270.2 MB, free: 8.047 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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.0004666/0.003125, allocations: 91.58 kB / 270.3 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.099e-05/0.003186, allocations: 21.45 kB / 270.3 MB, free: 7.938 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.003219, allocations: 3.984 kB / 270.3 MB, free: 7.934 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.489e-05/0.003254, allocations: 8 kB / 270.3 MB, free: 7.926 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.897e-05/0.003273, allocations: 4 kB / 270.3 MB, free: 7.922 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.003284, allocations: 0.8125 kB / 270.3 MB, free: 7.922 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.003478, allocations: 127.6 kB / 270.5 MB, free: 7.797 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.00349, allocations: 0.875 kB / 270.5 MB, free: 7.797 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.003508, allocations: 8 kB / 270.5 MB, free: 7.789 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.003667, allocations: 95.73 kB / 270.6 MB, free: 7.695 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.003671, allocations: 0.5938 kB / 270.6 MB, free: 7.695 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.003672, allocations: 1.469 kB / 270.6 MB, free: 7.695 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.003675, allocations: 0 / 270.6 MB, free: 7.695 MB / 250.7 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.0002728/0.003948, allocations: 240.8 kB / 270.8 MB, free: 7.438 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.003979, allocations: 12.03 kB / 270.8 MB, free: 7.426 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.004003, allocations: 10.8 kB / 270.8 MB, free: 7.418 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.401e-05/0.004077, allocations: 113.8 kB / 270.9 MB, free: 7.281 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.004088, allocations: 384 / 270.9 MB, free: 7.281 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.004096, allocations: 4.375 kB / 270.9 MB, free: 7.277 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.129e-05/0.004147, allocations: 30.25 kB / 271 MB, free: 7.242 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.004154, allocations: 4.75 kB / 271 MB, free: 7.238 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-06/0.004159, allocations: 0 / 271 MB, free: 7.238 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.004163, allocations: 6 kB / 271 MB, free: 7.234 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.643e-06/0.004169, allocations: 0 / 271 MB, free: 7.234 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.004355, allocations: 156.2 kB / 271.1 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.305e-05/0.004398, allocations: 18.58 kB / 271.1 MB, free: 7.039 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.004413, allocations: 14.12 kB / 271.2 MB, free: 7.023 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-06/0.004419, allocations: 0 / 271.2 MB, free: 7.023 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.608e-05/0.004495, allocations: 55.33 kB / 271.2 MB, free: 6.957 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.041e-06/0.004496, allocations: 0.5312 kB / 271.2 MB, free: 6.957 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 9.213e-05/0.004588, allocations: 42.31 kB / 271.3 MB, free: 6.91 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.004622, allocations: 55.41 kB / 271.3 MB, free: 6.844 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.004697, allocations: 116.2 kB / 271.4 MB, free: 6.719 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.004705, allocations: 25.7 kB / 271.5 MB, free: 6.688 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.45e-05/0.00473, allocations: 80.14 kB / 271.5 MB, free: 6.605 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.004743, allocations: 3.953 kB / 271.5 MB, free: 6.602 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.004769, allocations: 26.58 kB / 271.6 MB, free: 6.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.004843, allocations: 314.8 kB / 271.9 MB, free: 6.254 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.004858, allocations: 16.7 kB / 271.9 MB, free: 6.234 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.004872, allocations: 14.22 kB / 271.9 MB, free: 6.215 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.004899, allocations: 33.62 kB / 271.9 MB, free: 6.176 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.004902, allocations: 0 / 271.9 MB, free: 6.176 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.065e-05/0.004952, allocations: 45.62 kB / 272 MB, free: 6.125 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.004964, allocations: 11.94 kB / 272 MB, free: 6.113 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.004968, allocations: 0 / 272 MB, free: 6.113 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.00498, allocations: 0 / 272 MB, free: 6.113 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.95e-05/0.005019, allocations: 11.98 kB / 272 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.005021, allocations: 0 / 272 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.501e-05/0.005037, allocations: 7.953 kB / 272 MB, free: 6.094 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.005042, allocations: 4.031 kB / 272 MB, free: 6.09 MB / 250.7 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.seed,globalSeed.id_impure,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 5.196e-05/0.005094, allocations: 109.8 kB / 272.1 MB, free: 5.973 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-06/0.005102, allocations: 8.172 kB / 272.1 MB, free: 5.965 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.097e-05/0.005123, allocations: 7.938 kB / 272.1 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.005126, allocations: 3.984 kB / 272.1 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.005128, allocations: 3.984 kB / 272.1 MB, free: 5.941 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.005131, allocations: 0 / 272.1 MB, free: 5.941 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.005258, allocations: 191.2 kB / 272.3 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.005259, allocations: 0 / 272.3 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.987e-06/0.005268, allocations: 8 kB / 272.3 MB, free: 5.723 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.005271, allocations: 7.938 kB / 272.3 MB, free: 5.715 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-06/0.005274, allocations: 0 / 272.3 MB, free: 5.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005275, allocations: 0 / 272.3 MB, free: 5.715 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.81e-07/0.005276, allocations: 0 / 272.3 MB, free: 5.715 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.779e-05/0.005333, allocations: 135.5 kB / 272.5 MB, free: 5.566 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-06/0.005339, allocations: 7.875 kB / 272.5 MB, free: 5.559 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-06/0.005346, allocations: 4 kB / 272.5 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.267e-05/0.005368, allocations: 0 / 272.5 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.005383, allocations: 0 / 272.5 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.005394, allocations: 4 kB / 272.5 MB, free: 5.551 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.332e-05/0.005407, allocations: 12.84 kB / 272.5 MB, free: 5.535 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005407, allocations: 4 kB / 272.5 MB, free: 5.531 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001617/0.005569, allocations: 23.94 kB / 272.5 MB, free: 5.508 MB / 250.7 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.0003925/0.005961, allocations: 204.5 kB / 272.7 MB, free: 5.352 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.096e-05/0.006022, allocations: 24.86 kB / 272.8 MB, free: 5.324 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.006025, allocations: 0 / 272.8 MB, free: 5.324 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.762e-05/0.006043, allocations: 16.78 kB / 272.8 MB, free: 5.305 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.889e-05/0.006131, allocations: 0 / 272.8 MB, free: 5.305 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/0.00633, allocations: 120.5 kB / 272.9 MB, free: 5.16 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.113e-05/0.006361, allocations: 59.3 kB / 272.9 MB, free: 5.082 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.533e-05/0.006387, allocations: 7.984 kB / 273 MB, free: 5.074 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.006415, allocations: 51.38 kB / 273 MB, free: 5.023 MB / 250.7 MB Notification: Performance of SimCode: time 3.6e-07/0.006416, allocations: 0 / 273 MB, free: 5.023 MB / 250.7 MB Notification: Performance of Templates: time 0.002654/0.00907, allocations: 1.103 MB / 274.1 MB, free: 3.922 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.655446296092123]