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.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.001095/0.001095, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001012/0.001012, allocations: 170.3 kB / 25.69 MB, free: 8.453 MB / 18.57 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 0.8573/0.8573, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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.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.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: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.296e-05, allocations: 2.312 kB / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002604/0.002627, allocations: 1.5 MB / 253 MB, free: 5.758 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.003786, allocations: 0.573 MB / 253.6 MB, free: 5.18 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.506e-05/0.003841, allocations: 0 / 253.6 MB, free: 5.18 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.003955, allocations: 11.88 kB / 253.6 MB, free: 5.168 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.483e-05/0.004049, allocations: 19.73 kB / 253.6 MB, free: 5.148 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000627/0.004676, allocations: 167.4 kB / 253.8 MB, free: 4.984 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.004834, allocations: 115.6 kB / 253.9 MB, free: 4.871 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.004878, allocations: 13.97 kB / 253.9 MB, free: 4.859 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.004985, allocations: 71.8 kB / 254 MB, free: 4.789 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.103e-05/0.005056, allocations: 43.88 kB / 254 MB, free: 4.746 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.005082, allocations: 12 kB / 254 MB, free: 4.734 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.005412, allocations: 163.6 kB / 254.2 MB, free: 4.574 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.005471, allocations: 27.92 kB / 254.2 MB, free: 4.547 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.158e-05/0.005523, allocations: 31.84 kB / 254.3 MB, free: 4.516 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.005849, allocations: 207.3 kB / 254.5 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005851, allocations: 0 / 254.5 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005852, allocations: 0 / 254.5 MB, free: 4.312 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.005856, allocations: 0 / 254.5 MB, free: 4.312 MB / 234.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.0005571/0.006413, allocations: 367.8 kB / 254.8 MB, free: 3.926 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.006454, allocations: 15.98 kB / 254.8 MB, free: 3.91 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003142/0.006769, allocations: 44.89 kB / 254.9 MB, free: 3.867 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.006902, allocations: 146.3 kB / 255 MB, free: 3.695 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.006922, allocations: 4.375 kB / 255 MB, free: 3.691 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.006948, allocations: 8.375 kB / 255 MB, free: 3.684 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.007115, allocations: 86.67 kB / 255.1 MB, free: 3.586 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.007125, allocations: 4.188 kB / 255.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.007135, allocations: 384 / 255.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.007141, allocations: 384 / 255.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.437e-05/0.007196, allocations: 25.58 kB / 255.2 MB, free: 3.555 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.00763, allocations: 214.8 kB / 255.4 MB, free: 3.324 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.007779, allocations: 101 kB / 255.5 MB, free: 3.207 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.007813, allocations: 17.72 kB / 255.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.007822, allocations: 4 kB / 255.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.007981, allocations: 111.5 kB / 255.6 MB, free: 3.055 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.007982, allocations: 0 / 255.6 MB, free: 3.055 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.000191/0.008173, allocations: 103.2 kB / 255.7 MB, free: 2.945 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.008234, allocations: 89.09 kB / 255.8 MB, free: 2.84 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.008372, allocations: 182.5 kB / 256 MB, free: 2.648 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.008418, allocations: 41.7 kB / 256 MB, free: 2.602 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.008471, allocations: 96.61 kB / 256.1 MB, free: 2.504 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/0.008517, allocations: 47.59 kB / 256.1 MB, free: 2.457 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.424e-05/0.008601, allocations: 57.89 kB / 256.2 MB, free: 2.391 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.0087, allocations: 326.8 kB / 256.5 MB, free: 2.062 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-05/0.008772, allocations: 31.33 kB / 256.5 MB, free: 2.031 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.432e-05/0.008856, allocations: 63.48 kB / 256.6 MB, free: 1.961 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.009002, allocations: 104.6 kB / 256.7 MB, free: 1.844 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.009005, allocations: 4 kB / 256.7 MB, free: 1.84 MB / 234.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000221/0.009226, allocations: 140.4 kB / 256.9 MB, free: 1.695 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.009241, allocations: 4 kB / 256.9 MB, free: 1.691 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.009248, allocations: 3.938 kB / 256.9 MB, free: 1.688 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.009263, allocations: 4 kB / 256.9 MB, free: 1.684 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.009431, allocations: 43.91 kB / 256.9 MB, free: 1.641 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.009436, allocations: 4 kB / 256.9 MB, free: 1.637 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/0.009498, allocations: 15.89 kB / 256.9 MB, free: 1.621 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.009516, allocations: 8 kB / 256.9 MB, free: 1.613 MB / 234.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.000114/0.00963, allocations: 144.7 kB / 257.1 MB, free: 1.461 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.009653, allocations: 11.98 kB / 257.1 MB, free: 1.449 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.009685, allocations: 17.34 kB / 257.1 MB, free: 1.426 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.009688, allocations: 4 kB / 257.1 MB, free: 1.422 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.009689, allocations: 0 / 257.1 MB, free: 1.422 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.009693, allocations: 0 / 257.1 MB, free: 1.422 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.009825, allocations: 97.8 kB / 257.2 MB, free: 1.309 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.009829, allocations: 4 kB / 257.2 MB, free: 1.305 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.00986, allocations: 8 kB / 257.2 MB, free: 1.297 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.009863, allocations: 0 / 257.2 MB, free: 1.297 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.009873, allocations: 3.984 kB / 257.2 MB, free: 1.293 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.009876, allocations: 4 kB / 257.2 MB, free: 1.289 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.009881, allocations: 7.875 kB / 257.2 MB, free: 1.281 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.01003, allocations: 114.9 kB / 257.3 MB, free: 1.145 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.451e-05/0.01005, allocations: 19.83 kB / 257.4 MB, free: 1.125 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.01008, allocations: 4 kB / 257.4 MB, free: 1.121 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.32e-05/0.01012, allocations: 8 kB / 257.4 MB, free: 1.113 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.01016, allocations: 19.91 kB / 257.4 MB, free: 1.094 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.01017, allocations: 4 kB / 257.4 MB, free: 1.09 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.083e-05/0.01022, allocations: 49.81 kB / 257.4 MB, free: 1.039 MB / 234.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01022, allocations: 0 / 257.4 MB, free: 1.039 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002755/0.0105, allocations: 51.94 kB / 257.5 MB, free: 0.9883 MB / 234.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.0005458/0.01105, allocations: 249 kB / 257.7 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.01123, allocations: 84.97 kB / 257.8 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.01123, allocations: 4 kB / 257.8 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.274e-05/0.01129, allocations: 24.84 kB / 257.9 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.01142, allocations: 20.11 kB / 257.9 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.0118, allocations: 253 kB / 258.1 MB, free: 372 kB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.383e-05/0.01184, allocations: 71.33 kB / 258.2 MB, free: 280 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.0119, allocations: 20.94 kB / 258.2 MB, free: 252 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.01197, allocations: 67.36 kB / 258.3 MB, free: 184 kB / 234.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01197, allocations: 0 / 258.3 MB, free: 184 kB / 234.7 MB Notification: Performance of Templates: time 0.005523/0.0175, allocations: 2.565 MB / 260.8 MB, free: 13.62 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) [Timeout 240] 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","",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.5920412028208375]