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.001561/0.001561, allocations: 115.8 kB / 19.18 MB, free: 3.895 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.001661/0.001661, allocations: 212.9 kB / 22.13 MB, free: 0.9414 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.419/1.419, allocations: 230.4 MB / 255.4 MB, free: 9.066 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.001914/0.001914, allocations: 71.83 kB / 374.8 MB, free: 4.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2761, allocations: 53.3 MB / 428.1 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002545/0.2787, allocations: 0.8861 MB / 428.9 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007095/0.2794, allocations: 255.1 kB / 429.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.2795, allocations: 7.938 kB / 429.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.335e-05/0.2796, allocations: 3.938 kB / 429.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.2797, allocations: 7.922 kB / 429.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.2802, allocations: 99.72 kB / 429.3 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.2804, allocations: 51.78 kB / 429.4 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.2805, allocations: 19.98 kB / 429.4 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.894e-05/0.2805, allocations: 11.94 kB / 429.4 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.561e-05/0.2806, allocations: 23.86 kB / 429.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.2806, allocations: 4 kB / 429.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.2807, allocations: 47.94 kB / 429.5 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.2808, allocations: 19.92 kB / 429.5 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.2809, allocations: 23.81 kB / 429.5 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.2811, allocations: 95.28 kB / 429.6 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2811, allocations: 3.938 kB / 429.6 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2811, allocations: 0 / 429.6 MB, free: 6.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.2811, allocations: 4 kB / 429.6 MB, free: 6.578 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.0005848/0.2817, allocations: 392.6 kB / 430 MB, free: 6.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2817, allocations: 12.03 kB / 430 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.2818, allocations: 8.891 kB / 430 MB, free: 6.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.282, allocations: 203.1 kB / 430.2 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.282, allocations: 384 / 430.2 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.2821, allocations: 4.375 kB / 430.2 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.2824, allocations: 157.5 kB / 430.4 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.2824, allocations: 8.125 kB / 430.4 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.2824, allocations: 3.938 kB / 430.4 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.2824, allocations: 0 / 430.4 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.411e-05/0.2825, allocations: 23.92 kB / 430.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.2828, allocations: 277.8 kB / 430.7 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.666e-05/0.2829, allocations: 38.5 kB / 430.7 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.283, allocations: 20.86 kB / 430.7 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007031/0.2837, allocations: 0.5857 MB / 431.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.2837, allocations: 34.5 kB / 431.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2837, allocations: 0 / 431.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002323/0.284, allocations: 85.7 kB / 431.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.284, allocations: 55.39 kB / 431.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.2842, allocations: 151.1 kB / 431.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.2842, allocations: 33.69 kB / 431.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.2842, allocations: 92.14 kB / 431.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.2843, allocations: 7.891 kB / 431.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.2843, allocations: 29.7 kB / 431.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2844, allocations: 322.8 kB / 432.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.644e-05/0.2845, allocations: 19.92 kB / 432.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/0.2846, allocations: 66 kB / 432.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.801e-05/0.2846, allocations: 81.92 kB / 432.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2847, allocations: 0 / 432.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001673/0.2848, allocations: 109.4 kB / 432.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2848, allocations: 8 kB / 432.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2848, allocations: 0 / 432.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.2849, allocations: 4 kB / 432.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.2849, allocations: 15.98 kB / 432.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.285, allocations: 4.453 kB / 432.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.285, allocations: 7.953 kB / 432.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.285, allocations: 7.938 kB / 432.4 MB, free: 3.348 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.0001325/0.2851, allocations: 133.8 kB / 432.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.2852, allocations: 73.62 kB / 432.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.2854, allocations: 90.27 kB / 432.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.2854, allocations: 0 / 432.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2854, allocations: 192 / 432.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2854, allocations: 0 / 432.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.2856, allocations: 193.4 kB / 432.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.2856, allocations: 0 / 432.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.2856, allocations: 8 kB / 432.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.2856, allocations: 4 kB / 432.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.2856, allocations: 0 / 432.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2856, allocations: 0 / 432.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2856, allocations: 3.984 kB / 432.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.2858, allocations: 101 kB / 433 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.087e-05/0.2859, allocations: 97.05 kB / 433.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.2859, allocations: 4 kB / 433.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.556e-05/0.2859, allocations: 3.984 kB / 433.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-06/0.2859, allocations: 0 / 433.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.2859, allocations: 4 kB / 433.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.237e-05/0.286, allocations: 122.2 kB / 433.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.286, allocations: 0 / 433.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.2862, allocations: 16 kB / 433.3 MB, free: 2.402 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.0001916/0.2864, allocations: 115.2 kB / 433.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.2866, allocations: 47.91 kB / 433.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2866, allocations: 0 / 433.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.2866, allocations: 0 / 433.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.287, allocations: 81.91 kB / 433.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.2874, allocations: 207 kB / 433.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.2877, allocations: 0.7045 MB / 434.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.2878, allocations: 15.44 kB / 434.4 MB, free: 1.168 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2878, allocations: 0 / 434.4 MB, free: 1.168 MB / 334.1 MB Notification: Performance of Templates: time 0.003403/0.2912, allocations: 1.302 MB / 435.7 MB, free: 15.87 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.936954373028129]