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.001212/0.001212, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001714/0.001714, allocations: 173.7 kB / 25.33 MB, free: 9.465 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.9318/0.9318, allocations: 158.6 MB / 187.2 MB, free: 2.527 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.324e-06/2.324e-06, allocations: 0 / 251 MB, free: 3.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.903e-05, allocations: 2.312 kB / 251 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.005455/0.005484, allocations: 1.511 MB / 252.6 MB, free: 2.07 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.006551, allocations: 0.5614 MB / 253.1 MB, free: 1.504 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.006604, allocations: 0 / 253.1 MB, free: 1.504 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.006712, allocations: 7.875 kB / 253.1 MB, free: 1.496 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.673e-05/0.006788, allocations: 27.8 kB / 253.1 MB, free: 1.469 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003663/0.01045, allocations: 163.3 kB / 253.3 MB, free: 1.309 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000417/0.01087, allocations: 119.6 kB / 253.4 MB, free: 1.191 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.01092, allocations: 9.312 kB / 253.4 MB, free: 1.184 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.162e-05/0.01101, allocations: 63.81 kB / 253.5 MB, free: 1.121 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.866e-05/0.01107, allocations: 47.86 kB / 253.5 MB, free: 1.074 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.01109, allocations: 12 kB / 253.6 MB, free: 1.062 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.0114, allocations: 163.6 kB / 253.7 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.01145, allocations: 31.91 kB / 253.7 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.01151, allocations: 39.86 kB / 253.8 MB, free: 0.832 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.01181, allocations: 203.4 kB / 254 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.01181, allocations: 0 / 254 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01182, allocations: 0 / 254 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.01182, allocations: 0 / 254 MB, free: 0.6328 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.0005643/0.01238, allocations: 491.6 kB / 254.5 MB, free: 116 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.01242, allocations: 11.98 kB / 254.5 MB, free: 104 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002765/0.0127, allocations: 40.81 kB / 254.5 MB, free: 64 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.01285, allocations: 153 kB / 254.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.01287, allocations: 8.359 kB / 254.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.0129, allocations: 16.38 kB / 254.7 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.01305, allocations: 81.58 kB / 254.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.01307, allocations: 192 / 254.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.01308, allocations: 4.375 kB / 254.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.01309, allocations: 384 / 254.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.672e-05/0.01314, allocations: 27.86 kB / 254.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.01666, allocations: 347.3 kB / 255.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.0168, allocations: 90.11 kB / 255.2 MB, free: 15.24 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.27e-05/0.01684, allocations: 31.42 kB / 255.3 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.01685, allocations: 4 kB / 255.3 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.017, allocations: 112.3 kB / 255.4 MB, free: 15.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.017, allocations: 0 / 255.4 MB, free: 15.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003013/0.01731, allocations: 153.6 kB / 255.5 MB, free: 14.91 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.01736, allocations: 97.03 kB / 255.6 MB, free: 14.8 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.01752, allocations: 233.8 kB / 255.8 MB, free: 14.55 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.01755, allocations: 45.69 kB / 255.9 MB, free: 14.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.01762, allocations: 147.4 kB / 256 MB, free: 14.35 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.01767, allocations: 51.67 kB / 256.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/0.01775, allocations: 63.59 kB / 256.1 MB, free: 14.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.01788, allocations: 0.5001 MB / 256.6 MB, free: 13.71 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.061e-05/0.01796, allocations: 36.5 kB / 256.7 MB, free: 13.68 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.01806, allocations: 83.98 kB / 256.8 MB, free: 13.59 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.01822, allocations: 111.5 kB / 256.9 MB, free: 13.46 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.01822, allocations: 0 / 256.9 MB, free: 13.46 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002718/0.0185, allocations: 193.4 kB / 257.1 MB, free: 13.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01851, allocations: 8.062 kB / 257.1 MB, free: 13.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.01852, allocations: 0 / 257.1 MB, free: 13.26 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.01854, allocations: 4 kB / 257.1 MB, free: 13.26 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.01869, allocations: 51.91 kB / 257.1 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.0187, allocations: 0 / 257.1 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.247e-05/0.01875, allocations: 23.84 kB / 257.1 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.01877, allocations: 4 kB / 257.2 MB, free: 13.18 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,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.000115/0.01888, allocations: 188.6 kB / 257.3 MB, free: 12.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.01891, allocations: 27.83 kB / 257.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.01894, allocations: 13.45 kB / 257.4 MB, free: 12.94 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.01894, allocations: 7.938 kB / 257.4 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.01895, allocations: 0 / 257.4 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01895, allocations: 0 / 257.4 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.01908, allocations: 144.6 kB / 257.5 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01908, allocations: 4 kB / 257.5 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.0191, allocations: 7.984 kB / 257.5 MB, free: 12.74 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.0191, allocations: 0 / 257.5 MB, free: 12.74 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.01912, allocations: 7.938 kB / 257.5 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01912, allocations: 0 / 257.5 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01912, allocations: 4 kB / 257.5 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/0.02233, allocations: 183.9 kB / 257.7 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.02235, allocations: 11.91 kB / 257.7 MB, free: 12.51 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.02238, allocations: 11.92 kB / 257.8 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.262e-05/0.02241, allocations: 8 kB / 257.8 MB, free: 12.49 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.02246, allocations: 7.984 kB / 257.8 MB, free: 12.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.02247, allocations: 4 kB / 257.8 MB, free: 12.48 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.802e-05/0.02256, allocations: 168.1 kB / 257.9 MB, free: 12.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02256, allocations: 0 / 257.9 MB, free: 12.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000294/0.02285, allocations: 51.88 kB / 258 MB, free: 12.27 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.0004684/0.02332, allocations: 247.9 kB / 258.2 MB, free: 12.04 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.02355, allocations: 115.7 kB / 258.3 MB, free: 11.93 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.02355, allocations: 0 / 258.3 MB, free: 11.93 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.646e-05/0.0236, allocations: 31.67 kB / 258.4 MB, free: 11.89 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.02381, allocations: 23.94 kB / 258.4 MB, free: 11.87 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.02424, allocations: 252.9 kB / 258.6 MB, free: 11.59 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.228e-05/0.02428, allocations: 71.28 kB / 258.7 MB, free: 11.5 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.259e-05/0.02433, allocations: 21.08 kB / 258.7 MB, free: 11.48 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.02437, allocations: 16.5 kB / 258.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02437, allocations: 0 / 258.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of Templates: time 0.01114/0.03551, allocations: 2.373 MB / 261.1 MB, free: 9.09 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: 3.0554511952213943]