Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.00134/0.00134, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001371/0.001371, allocations: 182.8 kB / 23.7 MB, free: 4.414 MB / 14.72 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 1.455/1.455, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 51.92 kB / 370.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3057, allocations: 52.18 MB / 423.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002936/0.3086, allocations: 1.47 MB / 424.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.3099, allocations: 0.564 MB / 425.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.3099, allocations: 0 / 425.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.881e-05/0.31, allocations: 11.81 kB / 425.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.3101, allocations: 19.84 kB / 425.1 MB, free: 12.36 MB / 334.1 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.0006082/0.3107, allocations: 155.5 kB / 425.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.3109, allocations: 111.7 kB / 425.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.961e-05/0.3109, allocations: 13.09 kB / 425.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/0.311, allocations: 47.78 kB / 425.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000584/0.3116, allocations: 74.09 kB / 425.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.3116, allocations: 12 kB / 425.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.3119, allocations: 139.7 kB / 425.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.312, allocations: 31.91 kB / 425.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.546e-05/0.312, allocations: 47.67 kB / 425.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.3124, allocations: 205.7 kB / 425.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3124, allocations: 0 / 425.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3124, allocations: 0 / 425.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3124, allocations: 0 / 425.9 MB, free: 11.55 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006991/0.3131, allocations: 389.4 kB / 426.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3131, allocations: 8.031 kB / 426.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003035/0.3135, allocations: 36.83 kB / 426.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.3136, allocations: 134.4 kB / 426.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.3136, allocations: 8.125 kB / 426.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.3136, allocations: 11.94 kB / 426.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.3139, allocations: 115.3 kB / 426.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3139, allocations: 0 / 426.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.3139, allocations: 4 kB / 426.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.3139, allocations: 0 / 426.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.3141, allocations: 55.95 kB / 426.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.3146, allocations: 305 kB / 427 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.3149, allocations: 121.2 kB / 427.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3151, allocations: 53.69 kB / 427.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.3151, allocations: 0 / 427.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.3153, allocations: 144.5 kB / 427.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.3153, allocations: 4 kB / 427.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004878/0.3158, allocations: 241.6 kB / 427.5 MB, free: 9.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.3159, allocations: 89.11 kB / 427.6 MB, free: 9.699 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.316, allocations: 174.2 kB / 427.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.3161, allocations: 49.69 kB / 427.8 MB, free: 9.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.3162, allocations: 104.5 kB / 428 MB, free: 9.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.3162, allocations: 43.72 kB / 428 MB, free: 9.316 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.137e-05/0.3163, allocations: 49.94 kB / 428 MB, free: 9.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3164, allocations: 338.8 kB / 428.4 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.3166, allocations: 100.4 kB / 428.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.3168, allocations: 136.3 kB / 428.6 MB, free: 8.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.3172, allocations: 210.9 kB / 428.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3172, allocations: 0 / 428.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000483/0.3177, allocations: 289.9 kB / 429.1 MB, free: 8.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3177, allocations: 12.05 kB / 429.1 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3177, allocations: 0 / 429.1 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3177, allocations: 4 kB / 429.1 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.3178, allocations: 27.92 kB / 429.1 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3178, allocations: 0 / 429.1 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.956e-05/0.3179, allocations: 27.77 kB / 429.2 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.3179, allocations: 8 kB / 429.2 MB, free: 8.094 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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 0.0001374/0.3181, allocations: 153.8 kB / 429.3 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.3181, allocations: 19.89 kB / 429.3 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.3181, allocations: 13.41 kB / 429.4 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3181, allocations: 0 / 429.4 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3182, allocations: 4 kB / 429.4 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3182, allocations: 3.938 kB / 429.4 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.3183, allocations: 153.2 kB / 429.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3183, allocations: 0 / 429.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.292e-05/0.3184, allocations: 4 kB / 429.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3184, allocations: 0 / 429.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3184, allocations: 11.98 kB / 429.5 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3184, allocations: 7.938 kB / 429.5 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3184, allocations: 0 / 429.5 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.3187, allocations: 217.8 kB / 429.7 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.3188, allocations: 15.84 kB / 429.8 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.3188, allocations: 12 kB / 429.8 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-05/0.3189, allocations: 7.984 kB / 429.8 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.3189, allocations: 7.984 kB / 429.8 MB, free: 7.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.3189, allocations: 8 kB / 429.8 MB, free: 7.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.319, allocations: 136.2 kB / 429.9 MB, free: 7.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.319, allocations: 4 kB / 429.9 MB, free: 7.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.3193, allocations: 43.94 kB / 430 MB, free: 7.223 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004411/0.3197, allocations: 206.7 kB / 430.2 MB, free: 7.047 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003849/0.3201, allocations: 171.9 kB / 430.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3201, allocations: 0 / 430.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.3203, allocations: 59.89 kB / 430.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.3204, allocations: 11.98 kB / 430.4 MB, free: 6.809 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.3209, allocations: 247.8 kB / 430.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.321, allocations: 97.91 kB / 430.8 MB, free: 6.414 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.739e-05/0.321, allocations: 20.95 kB / 430.8 MB, free: 6.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.321, allocations: 15.44 kB / 430.8 MB, free: 6.379 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.321, allocations: 4 kB / 430.8 MB, free: 6.375 MB / 334.1 MB Notification: Performance of Templates: time 0.0054/0.3264, allocations: 2.089 MB / 432.9 MB, free: 4.301 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.649039251729846]