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.001087/0.001087, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009562/0.0009562, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 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 0.8866/0.8866, allocations: 177.1 MB / 206 MB, free: 4.496 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 1.483e-06/1.483e-06, allocations: 0 / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.66e-05, allocations: 3.25 kB / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002645/0.002671, allocations: 1.387 MB / 275.6 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007131/0.003384, allocations: 354.7 kB / 275.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.003413, allocations: 0.5 kB / 275.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.003437, allocations: 4.875 kB / 275.9 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.625e-05/0.003493, allocations: 4 kB / 275.9 MB, free: 2.684 MB / 250.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.000497/0.00399, allocations: 96.14 kB / 276 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.095e-05/0.004051, allocations: 19.91 kB / 276 MB, free: 2.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.219e-05/0.004083, allocations: 5.406 kB / 276 MB, free: 2.566 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.627e-05/0.004119, allocations: 8 kB / 276.1 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.099e-05/0.00414, allocations: 3.984 kB / 276.1 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.004153, allocations: 4 kB / 276.1 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.004402, allocations: 117.7 kB / 276.2 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.00442, allocations: 11.92 kB / 276.2 MB, free: 2.426 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.004438, allocations: 4 kB / 276.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.004621, allocations: 91.75 kB / 276.3 MB, free: 2.332 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.004624, allocations: 0 / 276.3 MB, free: 2.332 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004625, allocations: 0.5938 kB / 276.3 MB, free: 2.332 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.145e-06/0.004628, allocations: 5 kB / 276.3 MB, free: 2.328 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.0003352/0.004964, allocations: 372.5 kB / 276.7 MB, free: 1.926 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.004996, allocations: 8.031 kB / 276.7 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.005028, allocations: 8.875 kB / 276.7 MB, free: 1.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.631e-05/0.005114, allocations: 120.5 kB / 276.8 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.005128, allocations: 384 / 276.8 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.005137, allocations: 4.375 kB / 276.8 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.217e-05/0.005199, allocations: 34.25 kB / 276.8 MB, free: 1.723 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.005206, allocations: 192 / 276.8 MB, free: 1.723 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.005211, allocations: 384 / 276.8 MB, free: 1.723 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.005216, allocations: 384 / 276.8 MB, free: 1.723 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.609e-05/0.005232, allocations: 3.938 kB / 276.8 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.005465, allocations: 236.4 kB / 277.1 MB, free: 1.461 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.353e-05/0.005538, allocations: 35.05 kB / 277.1 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.005554, allocations: 7.688 kB / 277.1 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-06/0.005561, allocations: 4.062 kB / 277.1 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.1e-05/0.005642, allocations: 57.05 kB / 277.2 MB, free: 1.328 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.005644, allocations: 0 / 277.2 MB, free: 1.328 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001374/0.005781, allocations: 57.5 kB / 277.2 MB, free: 1.266 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.005815, allocations: 55.39 kB / 277.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.005898, allocations: 161.9 kB / 277.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.00591, allocations: 29.7 kB / 277.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.005956, allocations: 138.9 kB / 277.6 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.005971, allocations: 3.953 kB / 277.6 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.006008, allocations: 23.38 kB / 277.6 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.006133, allocations: 0.4884 MB / 278.1 MB, free: 320 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/0.006155, allocations: 16.69 kB / 278.1 MB, free: 300 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.006177, allocations: 19.38 kB / 278.1 MB, free: 272 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.262e-05/0.006219, allocations: 35.47 kB / 278.2 MB, free: 228 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006221, allocations: 0 / 278.2 MB, free: 228 kB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.582e-05/0.006307, allocations: 57.58 kB / 278.2 MB, free: 164 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.006321, allocations: 8 kB / 278.2 MB, free: 156 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.006326, allocations: 4.031 kB / 278.2 MB, free: 152 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.006337, allocations: 3.938 kB / 278.3 MB, free: 148 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.939e-05/0.006386, allocations: 8 kB / 278.3 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.006389, allocations: 0 / 278.3 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.006411, allocations: 4 kB / 278.3 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.006417, allocations: 0 / 278.3 MB, free: 136 kB / 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 9.04e-05/0.006507, allocations: 160.7 kB / 278.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.006522, allocations: 7.984 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.006543, allocations: 4 kB / 278.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.006546, allocations: 3.938 kB / 278.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.006547, allocations: 4 kB / 278.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.00655, allocations: 0 / 278.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.006754, allocations: 266 kB / 278.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.006756, allocations: 384 / 278.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.006774, allocations: 4 kB / 278.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.006778, allocations: 4 kB / 278.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.006783, allocations: 3.938 kB / 278.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.006786, allocations: 3.938 kB / 278.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.006788, allocations: 0 / 278.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.006916, allocations: 199.8 kB / 278.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-06/0.006924, allocations: 4 kB / 278.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-06/0.006933, allocations: 4 kB / 278.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.637e-05/0.00698, allocations: 7.922 kB / 278.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.006999, allocations: 4 kB / 278.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.00701, allocations: 4 kB / 278.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.583e-05/0.007056, allocations: 127.2 kB / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007056, allocations: 0 / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.007333, allocations: 23.92 kB / 279.1 MB, free: 15.25 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.0004337/0.007767, allocations: 200.4 kB / 279.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.396e-05/0.007851, allocations: 23.67 kB / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.007853, allocations: 0 / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.007875, allocations: 15.62 kB / 279.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.008078, allocations: 4 kB / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.00834, allocations: 122.4 kB / 279.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.023e-05/0.00838, allocations: 59.2 kB / 279.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.834e-05/0.008408, allocations: 4 kB / 279.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.008448, allocations: 70.2 kB / 279.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008448, allocations: 0 / 279.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of Templates: time 0.003516/0.01196, allocations: 1.126 MB / 280.7 MB, free: 13.6 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: 2.594968514982611]