Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.0008119/0.0008119, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.003883/0.003883, allocations: 163.4 kB / 24.7 MB, free: 8.91 MB / 18.57 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.8709/0.8709, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.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.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5106,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.1.0_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_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.339e-05, allocations: 8.953 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001695/0.001729, allocations: 0.8873 MB / 326.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004883/0.002217, allocations: 247 kB / 327 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.286e-05/0.0023, allocations: 3.938 kB / 327 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.852e-05/0.002348, allocations: 7.938 kB / 327 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.002519, allocations: 15.86 kB / 327 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.002921, allocations: 103.6 kB / 327.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.003043, allocations: 39.86 kB / 327.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.003145, allocations: 15.98 kB / 327.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.143e-05/0.003196, allocations: 27.91 kB / 327.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.833e-05/0.003265, allocations: 11.92 kB / 327.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.003285, allocations: 8 kB / 327.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.172e-05/0.003367, allocations: 43.95 kB / 327.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.034e-05/0.003437, allocations: 23.91 kB / 327.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.003468, allocations: 15.94 kB / 327.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.003664, allocations: 99.66 kB / 327.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.003667, allocations: 0 / 327.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.003668, allocations: 0 / 327.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.003673, allocations: 0 / 327.4 MB, free: 13.87 MB / 298.7 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.0004649/0.004138, allocations: 316.8 kB / 327.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.004176, allocations: 12.03 kB / 327.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.004214, allocations: 8.891 kB / 327.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.004429, allocations: 145.6 kB / 327.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.00444, allocations: 8.312 kB / 327.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.004452, allocations: 4.375 kB / 327.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.004717, allocations: 145.6 kB / 328 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.004727, allocations: 4.125 kB / 328 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.004737, allocations: 384 / 328 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.004743, allocations: 4.375 kB / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.044e-05/0.004784, allocations: 27.86 kB / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.00504, allocations: 213.4 kB / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.136e-05/0.005122, allocations: 34.52 kB / 328.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.005154, allocations: 28.89 kB / 328.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/0.005447, allocations: 55.94 kB / 328.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.005475, allocations: 38.5 kB / 328.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.005476, allocations: 0 / 328.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001834/0.00566, allocations: 93.64 kB / 328.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.005705, allocations: 55.41 kB / 328.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/0.005796, allocations: 142.1 kB / 328.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.005807, allocations: 29.7 kB / 328.7 MB, free: 12.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.996e-05/0.005847, allocations: 88.14 kB / 328.8 MB, free: 12.28 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.005861, allocations: 11.89 kB / 328.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.005889, allocations: 17.72 kB / 328.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.383e-05/0.005973, allocations: 326.8 kB / 329.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.005995, allocations: 15.98 kB / 329.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.029e-05/0.006025, allocations: 34.56 kB / 329.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.55e-05/0.00607, allocations: 42.56 kB / 329.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.006073, allocations: 0 / 329.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.182e-05/0.006155, allocations: 85.5 kB / 329.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.006169, allocations: 11.94 kB / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.006175, allocations: 4.094 kB / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.006186, allocations: 0 / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.006245, allocations: 8 kB / 329.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.00625, allocations: 0 / 329.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.719e-05/0.006267, allocations: 11.94 kB / 329.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.006272, allocations: 0 / 329.4 MB, free: 11.68 MB / 298.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: 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 (6): * Single equations (assignments): 6 * 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 8.516e-05/0.006357, allocations: 132.4 kB / 329.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.61e-05/0.006423, allocations: 77.47 kB / 329.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.006536, allocations: 82.45 kB / 329.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.006539, allocations: 0 / 329.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.006544, allocations: 4 kB / 329.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.006549, allocations: 3.984 kB / 329.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.81e-05/0.006617, allocations: 117.3 kB / 329.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.006621, allocations: 0 / 329.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.006656, allocations: 4 kB / 329.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006657, allocations: 0 / 329.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.006666, allocations: 7.875 kB / 329.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.006669, allocations: 3.984 kB / 329.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.00667, allocations: 0 / 329.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.343e-05/0.006763, allocations: 109.1 kB / 329.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.006795, allocations: 19.88 kB / 329.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.006813, allocations: 11.94 kB / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.192e-05/0.006825, allocations: 0 / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-06/0.006828, allocations: 0 / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.006839, allocations: 7.938 kB / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.164e-05/0.00689, allocations: 114.2 kB / 330 MB, free: 10.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00689, allocations: 0 / 330 MB, free: 10.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001406/0.007031, allocations: 16 kB / 330.1 MB, free: 10.92 MB / 298.7 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.0001447/0.007176, allocations: 107.2 kB / 330.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.007276, allocations: 40.05 kB / 330.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.00728, allocations: 8.062 kB / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.007281, allocations: 0 / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.007567, allocations: 85.48 kB / 330.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.007848, allocations: 212 kB / 330.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.955e-05/0.007907, allocations: 91.27 kB / 330.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.007927, allocations: 12.5 kB / 330.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007927, allocations: 0 / 330.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of Templates: time 0.002209/0.01014, allocations: 1.269 MB / 331.9 MB, free: 9.031 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.061132405884564]