Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.001139/0.001139, allocations: 72.19 kB / 9.929 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002675, allocations: 453.6 kB / 10.37 MB, free: 324 kB / 10.45 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.0009829/0.0009829, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001212/0.002195, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9881/0.9881, allocations: 177.1 MB / 189.6 MB, free: 5.289 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1092/1.097, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Blocks.Examples.Noise.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.509e-05, allocations: 6.25 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002495/0.00252, allocations: 1.571 MB / 246.1 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003966/0.006486, allocations: 0.5891 MB / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.006539, allocations: 0 / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.761e-05/0.006597, allocations: 7.875 kB / 246.7 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.567e-05/0.006663, allocations: 23.8 kB / 246.7 MB, free: 12.09 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.0004843/0.007147, allocations: 139.4 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.007296, allocations: 111.6 kB / 247 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.054e-05/0.007337, allocations: 9.953 kB / 247 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.007468, allocations: 87.8 kB / 247.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004184/0.007887, allocations: 84.12 kB / 247.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.007918, allocations: 8 kB / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.008208, allocations: 147.7 kB / 247.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.008256, allocations: 23.88 kB / 247.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.008301, allocations: 23.94 kB / 247.3 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.008595, allocations: 167.4 kB / 247.5 MB, free: 11.33 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-05/0.008612, allocations: 4 kB / 247.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.008614, allocations: 0 / 247.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.008629, allocations: 0 / 247.5 MB, free: 11.32 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005358/0.009165, allocations: 379.6 kB / 247.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.009197, allocations: 16.03 kB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003337/0.01253, allocations: 118 kB / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.01269, allocations: 154.2 kB / 248.2 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.01271, allocations: 8.375 kB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.01273, allocations: 4.375 kB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.01288, allocations: 82.69 kB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.01289, allocations: 192 / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.0129, allocations: 8.109 kB / 248.3 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.01291, allocations: 0 / 248.3 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.303e-05/0.01295, allocations: 17.66 kB / 248.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.01333, allocations: 218.8 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.0135, allocations: 109 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.01353, allocations: 21.7 kB / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.01354, allocations: 4 kB / 248.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.01369, allocations: 99.83 kB / 248.7 MB, free: 9.961 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 3.677e-06/0.0137, allocations: 3.984 kB / 248.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001923/0.01389, allocations: 119.1 kB / 248.8 MB, free: 9.832 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.01395, allocations: 89.11 kB / 248.9 MB, free: 9.727 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.01406, allocations: 170.5 kB / 249.1 MB, free: 9.547 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.0141, allocations: 45.69 kB / 249.1 MB, free: 9.496 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.01415, allocations: 100.6 kB / 249.2 MB, free: 9.391 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.0142, allocations: 43.61 kB / 249.3 MB, free: 9.348 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.01427, allocations: 53.91 kB / 249.3 MB, free: 9.285 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.01442, allocations: 334.8 kB / 249.7 MB, free: 8.949 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.778e-05/0.01448, allocations: 31.33 kB / 249.7 MB, free: 8.914 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.01454, allocations: 53.55 kB / 249.7 MB, free: 8.855 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.01466, allocations: 117.1 kB / 249.9 MB, free: 8.73 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01466, allocations: 0 / 249.9 MB, free: 8.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001781/0.01484, allocations: 140.3 kB / 250 MB, free: 8.586 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.01485, allocations: 4 kB / 250 MB, free: 8.582 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.01486, allocations: 3.984 kB / 250 MB, free: 8.578 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.01487, allocations: 4 kB / 250 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.01502, allocations: 47.92 kB / 250.1 MB, free: 8.527 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.01503, allocations: 4 kB / 250.1 MB, free: 8.523 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.01507, allocations: 15.89 kB / 250.1 MB, free: 8.508 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003026/0.0181, allocations: 12.05 kB / 250.1 MB, free: 8.496 MB / 250.7 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,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,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.0001188/0.01822, allocations: 140.5 kB / 250.2 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.01824, allocations: 15.92 kB / 250.2 MB, free: 8.332 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.01827, allocations: 13.47 kB / 250.2 MB, free: 8.324 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01827, allocations: 0 / 250.2 MB, free: 8.324 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01828, allocations: 3.984 kB / 250.3 MB, free: 8.32 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01828, allocations: 0 / 250.3 MB, free: 8.32 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.01841, allocations: 89.81 kB / 250.3 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.01841, allocations: 8 kB / 250.3 MB, free: 8.207 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/0.01844, allocations: 7.984 kB / 250.4 MB, free: 8.199 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.01846, allocations: 15.84 kB / 250.4 MB, free: 8.184 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.01847, allocations: 7.938 kB / 250.4 MB, free: 8.176 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.01847, allocations: 0 / 250.4 MB, free: 8.176 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01847, allocations: 0 / 250.4 MB, free: 8.176 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01848, allocations: 3.938 kB / 250.4 MB, free: 8.172 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.01862, allocations: 122.4 kB / 250.5 MB, free: 8.027 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.01865, allocations: 8 kB / 250.5 MB, free: 8.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.281e-05/0.01868, allocations: 11.92 kB / 250.5 MB, free: 8.008 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.01872, allocations: 7.984 kB / 250.5 MB, free: 8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.01873, allocations: 8 kB / 250.5 MB, free: 7.992 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.345e-05/0.01877, allocations: 41.81 kB / 250.6 MB, free: 7.949 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01877, allocations: 0 / 250.6 MB, free: 7.949 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002578/0.01903, allocations: 47.92 kB / 250.6 MB, free: 7.902 MB / 250.7 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.0005038/0.01953, allocations: 227.3 kB / 250.8 MB, free: 7.727 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.01971, allocations: 89.39 kB / 250.9 MB, free: 7.637 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.01972, allocations: 4 kB / 250.9 MB, free: 7.633 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.329e-05/0.01976, allocations: 28.83 kB / 251 MB, free: 7.602 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.01991, allocations: 19.98 kB / 251 MB, free: 7.582 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007165/0.02062, allocations: 265.9 kB / 251.2 MB, free: 7.289 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.467e-05/0.02067, allocations: 71.3 kB / 251.3 MB, free: 7.199 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.512e-05/0.02072, allocations: 12.97 kB / 251.3 MB, free: 7.18 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.948e-05/0.02079, allocations: 63.36 kB / 251.4 MB, free: 7.117 MB / 250.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02079, allocations: 0 / 251.4 MB, free: 7.117 MB / 250.7 MB Notification: Performance of Templates: time 0.01065/0.03144, allocations: 2.399 MB / 253.8 MB, free: 4.742 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.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.5460881842300296]