Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.002329/0.002329, allocations: 104.8 kB / 21.18 MB, free: 0.6992 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.001926/0.001926, allocations: 181.2 kB / 24.46 MB, free: 4.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 51.91 kB / 347.6 MB, free: 9.668 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4317, allocations: 49.17 MB / 396.8 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003062/0.4348, allocations: 1.481 MB / 398.3 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.4362, allocations: 0.5775 MB / 398.9 MB, free: 8.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.4362, allocations: 1.219 kB / 398.9 MB, free: 8.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.312e-05/0.4363, allocations: 13.12 kB / 398.9 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.524e-05/0.4364, allocations: 16.17 kB / 398.9 MB, free: 8.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005865/0.437, allocations: 158.7 kB / 399 MB, free: 7.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.4372, allocations: 117.5 kB / 399.2 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.4372, allocations: 9.422 kB / 399.2 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.766e-05/0.4373, allocations: 57.86 kB / 399.2 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.4374, allocations: 55.52 kB / 399.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.4374, allocations: 10.25 kB / 399.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.4378, allocations: 165.3 kB / 399.5 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.4378, allocations: 37.86 kB / 399.5 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.733e-05/0.4379, allocations: 55.31 kB / 399.5 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004283/0.4383, allocations: 205.7 kB / 399.7 MB, free: 7.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4383, allocations: 1.406 kB / 399.7 MB, free: 7.699 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4383, allocations: 0 / 399.7 MB, free: 7.699 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.4383, allocations: 0 / 399.7 MB, free: 7.699 MB / 318.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.0006133/0.4389, allocations: 389.3 kB / 400.1 MB, free: 7.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.439, allocations: 12.89 kB / 400.1 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004228/0.4394, allocations: 47.02 kB / 400.2 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.4396, allocations: 136.7 kB / 400.3 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.4396, allocations: 9.203 kB / 400.3 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.4396, allocations: 6.125 kB / 400.3 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.4399, allocations: 112.5 kB / 400.4 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4399, allocations: 1.469 kB / 400.4 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.4399, allocations: 4.5 kB / 400.5 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.4399, allocations: 5.281 kB / 400.5 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.4401, allocations: 64.16 kB / 400.5 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007419/0.4409, allocations: 345.3 kB / 400.9 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.4412, allocations: 125.5 kB / 401 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.4413, allocations: 52.03 kB / 401 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.4414, allocations: 2.188 kB / 401 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004455/0.4418, allocations: 142.5 kB / 401.2 MB, free: 6.617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.193e-06/0.4418, allocations: 0 / 401.2 MB, free: 6.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006808/0.4425, allocations: 229.1 kB / 401.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/0.4426, allocations: 100.4 kB / 401.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.4428, allocations: 182.1 kB / 401.7 MB, free: 6.297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.4428, allocations: 47.36 kB / 401.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.4429, allocations: 101.5 kB / 401.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.4429, allocations: 42.8 kB / 401.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.443, allocations: 59.8 kB / 401.9 MB, free: 6.094 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.159e-05/0.4431, allocations: 327.7 kB / 402.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.4433, allocations: 103.2 kB / 402.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.4436, allocations: 132.6 kB / 402.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.444, allocations: 220.5 kB / 402.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.444, allocations: 0 / 402.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005632/0.4445, allocations: 297.6 kB / 403 MB, free: 5.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4446, allocations: 9.094 kB / 403 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.4446, allocations: 1.031 kB / 403 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.4446, allocations: 2.281 kB / 403 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.4448, allocations: 28.77 kB / 403 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4448, allocations: 1.312 kB / 403 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.95e-05/0.4449, allocations: 24.31 kB / 403 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.4449, allocations: 6 kB / 403 MB, free: 5.445 MB / 318.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.0001442/0.445, allocations: 157.8 kB / 403.2 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.4451, allocations: 13.56 kB / 403.2 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.4451, allocations: 12.34 kB / 403.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.4451, allocations: 4.969 kB / 403.2 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.4451, allocations: 4.547 kB / 403.2 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4451, allocations: 1.219 kB / 403.2 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.4453, allocations: 180.5 kB / 403.4 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4453, allocations: 1.219 kB / 403.4 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.751e-05/0.4453, allocations: 11.72 kB / 403.4 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4453, allocations: 1.719 kB / 403.4 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.4454, allocations: 7.016 kB / 403.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4454, allocations: 0.7031 kB / 403.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4454, allocations: 1.094 kB / 403.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.4457, allocations: 219.9 kB / 403.6 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.4458, allocations: 22.45 kB / 403.7 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.4458, allocations: 11.84 kB / 403.7 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.4459, allocations: 14.34 kB / 403.7 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.446, allocations: 8.75 kB / 403.7 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.446, allocations: 4.344 kB / 403.7 MB, free: 4.941 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.954e-05/0.4461, allocations: 124.8 kB / 403.8 MB, free: 4.852 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4461, allocations: 1.125 kB / 403.8 MB, free: 4.852 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003284/0.4464, allocations: 53.17 kB / 403.9 MB, free: 4.84 MB / 318.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.0005701/0.447, allocations: 227.2 kB / 404.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000464/0.4474, allocations: 182.9 kB / 404.3 MB, free: 4.617 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4474, allocations: 0 / 404.3 MB, free: 4.617 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.4476, allocations: 56.53 kB / 404.3 MB, free: 4.602 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.4478, allocations: 6.25 kB / 404.3 MB, free: 4.598 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000477/0.4482, allocations: 252.8 kB / 404.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.4484, allocations: 0.7135 MB / 405.3 MB, free: 3.707 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.559e-05/0.4485, allocations: 17.52 kB / 405.3 MB, free: 3.703 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.4485, allocations: 18.98 kB / 405.3 MB, free: 3.691 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4485, allocations: 0 / 405.3 MB, free: 3.691 MB / 318.1 MB Notification: Performance of Templates: time 0.007207/0.4557, allocations: 2.211 MB / 407.6 MB, free: 3.387 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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: 5.155536451376975]