Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.01092/0.01092, allocations: 106.3 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001577/0.001577, allocations: 211.9 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.569/1.569, allocations: 230.6 MB / 259 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5106,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5106,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 63.89 kB / 379.8 MB, free: 2.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.346, allocations: 53.37 MB / 433.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002566/0.3485, allocations: 0.8973 MB / 434.1 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007005/0.3492, allocations: 263 kB / 434.3 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.618e-05/0.3493, allocations: 0 / 434.3 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.982e-05/0.3494, allocations: 7.875 kB / 434.3 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.3495, allocations: 15.92 kB / 434.4 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.35, allocations: 91.78 kB / 434.4 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.3502, allocations: 47.78 kB / 434.5 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3503, allocations: 16 kB / 434.5 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.3503, allocations: 15.92 kB / 434.5 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.504e-05/0.3504, allocations: 27.86 kB / 434.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3504, allocations: 7.938 kB / 434.6 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.3505, allocations: 43.95 kB / 434.6 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.268e-05/0.3506, allocations: 19.92 kB / 434.6 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.3506, allocations: 27.8 kB / 434.6 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.3509, allocations: 96.81 kB / 434.7 MB, free: 5.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3509, allocations: 0 / 434.7 MB, free: 5.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3509, allocations: 7.938 kB / 434.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.3509, allocations: 0 / 434.7 MB, free: 5.418 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005641/0.3514, allocations: 313.9 kB / 435.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3515, allocations: 12.03 kB / 435.1 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.3515, allocations: 8.891 kB / 435.1 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.3518, allocations: 138.3 kB / 435.2 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3518, allocations: 4.375 kB / 435.2 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.3518, allocations: 12.36 kB / 435.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.3522, allocations: 153.5 kB / 435.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3522, allocations: 192 / 435.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3522, allocations: 3.938 kB / 435.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.3522, allocations: 0 / 435.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.115e-05/0.3522, allocations: 19.94 kB / 435.4 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.3526, allocations: 248.8 kB / 435.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.635e-05/0.3527, allocations: 42.5 kB / 435.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.3527, allocations: 20.86 kB / 435.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004142/0.3531, allocations: 55.98 kB / 435.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3532, allocations: 42.48 kB / 435.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 2.866e-06/0.3532, allocations: 3.984 kB / 435.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002313/0.3534, allocations: 85.7 kB / 435.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.3534, allocations: 51.41 kB / 435.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.3536, allocations: 156.4 kB / 436.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3536, allocations: 25.7 kB / 436.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.3537, allocations: 92.14 kB / 436.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.3537, allocations: 15.88 kB / 436.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.3537, allocations: 21.72 kB / 436.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3539, allocations: 326.8 kB / 436.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.458e-05/0.3539, allocations: 19.98 kB / 436.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.49e-05/0.354, allocations: 65.88 kB / 436.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.729e-05/0.3541, allocations: 77.94 kB / 436.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3541, allocations: 0 / 436.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001894/0.3543, allocations: 121.4 kB / 436.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3543, allocations: 8 kB / 436.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3543, allocations: 0 / 436.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3543, allocations: 4 kB / 436.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.241e-05/0.3544, allocations: 12 kB / 436.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.3544, allocations: 4 kB / 436.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.67e-05/0.3545, allocations: 3.953 kB / 436.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3545, allocations: 4.453 kB / 436.9 MB, free: 3.047 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * 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.0001173/0.3546, allocations: 141.7 kB / 437 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.3547, allocations: 73.62 kB / 437.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.3549, allocations: 86.27 kB / 437.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3549, allocations: 3.984 kB / 437.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3549, allocations: 0 / 437.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3549, allocations: 0 / 437.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.355, allocations: 152.6 kB / 437.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.355, allocations: 0 / 437.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.3551, allocations: 15.98 kB / 437.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.3551, allocations: 4 kB / 437.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.3551, allocations: 0 / 437.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3551, allocations: 0 / 437.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3551, allocations: 4 kB / 437.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.3552, allocations: 104.9 kB / 437.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.3553, allocations: 19.94 kB / 437.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.3553, allocations: 7.984 kB / 437.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.559e-05/0.3553, allocations: 8 kB / 437.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-06/0.3553, allocations: 0 / 437.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.3553, allocations: 0 / 437.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.745e-05/0.3554, allocations: 122.2 kB / 437.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3554, allocations: 0 / 437.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000218/0.3557, allocations: 16 kB / 437.6 MB, free: 2.219 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.000169/0.3558, allocations: 107.4 kB / 437.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.356, allocations: 55.98 kB / 437.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.356, allocations: 0 / 437.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.356, allocations: 0 / 437.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.3564, allocations: 92.36 kB / 437.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.3567, allocations: 203 kB / 438.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.3571, allocations: 0.6971 MB / 438.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.3571, allocations: 11.75 kB / 438.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3571, allocations: 4 kB / 438.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of Templates: time 0.00343/0.3606, allocations: 1.3 MB / 440.1 MB, free: 15.69 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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: 7.608294280944392]