Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.054/1.054, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.847e-05/4.117e-05, allocations: 2.312 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.003209/0.00325, allocations: 1.394 MB / 274.4 MB, free: 148 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.004255, allocations: 358.7 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.004316, allocations: 4 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.071e-05/0.004367, allocations: 0 / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.004472, allocations: 7.922 kB / 274.7 MB, free: 15.78 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0007876/0.00526, allocations: 91.58 kB / 274.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.776e-05/0.005347, allocations: 19.92 kB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.871e-05/0.005396, allocations: 0 / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.005448, allocations: 11.94 kB / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.878e-05/0.005477, allocations: 7.984 kB / 274.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.005494, allocations: 0 / 274.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.005772, allocations: 115.8 kB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.005791, allocations: 0 / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.005824, allocations: 19.92 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.006066, allocations: 91.69 kB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.006069, allocations: 0 / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.006071, allocations: 4 kB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.006076, allocations: 0 / 275.1 MB, free: 15.43 MB / 266.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.0004807/0.006557, allocations: 372.5 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.006612, allocations: 8.031 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.943e-05/0.006671, allocations: 4.938 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.006806, allocations: 116.5 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.006825, allocations: 384 / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.006843, allocations: 4.375 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.006956, allocations: 42.19 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.006969, allocations: 192 / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.006981, allocations: 384 / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.006993, allocations: 384 / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.605e-05/0.007019, allocations: 7.938 kB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.007419, allocations: 239.8 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.68e-05/0.007496, allocations: 38.98 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/0.007525, allocations: 11.75 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.007533, allocations: 0 / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/0.007635, allocations: 57.06 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.482e-06/0.007637, allocations: 0 / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002204/0.007857, allocations: 57.8 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.007903, allocations: 59.34 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.008021, allocations: 161.9 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.008041, allocations: 37.69 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.008106, allocations: 126.9 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.00813, allocations: 11.88 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.008174, allocations: 23.38 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.008351, allocations: 0.4923 MB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.554e-05/0.008386, allocations: 20.7 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.363e-05/0.00842, allocations: 19.38 kB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.57e-05/0.008475, allocations: 35.34 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.008478, allocations: 0 / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000107/0.008585, allocations: 57.58 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.008603, allocations: 8 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.00861, allocations: 3.938 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.008631, allocations: 0 / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.008705, allocations: 12 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.008712, allocations: 3.969 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.008731, allocations: 4 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.008741, allocations: 4 kB / 277.1 MB, free: 13.19 MB / 266.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.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 9.813e-05/0.008839, allocations: 156.6 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.008853, allocations: 4 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.008885, allocations: 11.94 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.008888, allocations: 0 / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.008892, allocations: 0 / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.008895, allocations: 0 / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.009143, allocations: 285.5 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.009146, allocations: 0 / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.712e-05/0.009163, allocations: 7.938 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.009167, allocations: 3.938 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.009177, allocations: 4 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.009178, allocations: 0 / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.009179, allocations: 0 / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.00932, allocations: 199.9 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.00933, allocations: 3.938 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.009342, allocations: 0 / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.446e-05/0.009386, allocations: 4.375 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.009414, allocations: 3.938 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.009426, allocations: 0 / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.426e-05/0.009491, allocations: 135.2 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009491, allocations: 0 / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002889/0.00978, allocations: 27.94 kB / 277.9 MB, free: 12.29 MB / 266.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.0004935/0.01027, allocations: 200.3 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.01039, allocations: 23.67 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01039, allocations: 0 / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.01042, allocations: 15.67 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.01066, allocations: 8 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.01097, allocations: 118.2 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.662e-05/0.01102, allocations: 55.36 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.34e-05/0.01105, allocations: 7.984 kB / 278.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.01108, allocations: 12.5 kB / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01108, allocations: 4.062 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of Templates: time 0.003784/0.01486, allocations: 0.9827 MB / 279.3 MB, free: 10.84 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.0724848681129515]