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.001388/0.001388, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002028/0.002028, allocations: 216.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.697/1.697, allocations: 230.6 MB / 258.2 MB, free: 7.777 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+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 0.001526/0.001526, allocations: 47.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3494, allocations: 53.36 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002824/0.3522, allocations: 0.8895 MB / 433.2 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000816/0.3531, allocations: 243.1 kB / 433.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.3532, allocations: 3.938 kB / 433.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.531e-05/0.3532, allocations: 3.938 kB / 433.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.3535, allocations: 7.938 kB / 433.5 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.354, allocations: 103.7 kB / 433.6 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.3542, allocations: 47.84 kB / 433.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3543, allocations: 15.98 kB / 433.6 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.881e-05/0.3544, allocations: 19.92 kB / 433.7 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.547e-05/0.3545, allocations: 19.86 kB / 433.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.3545, allocations: 7.938 kB / 433.7 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.3546, allocations: 39.95 kB / 433.7 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.513e-05/0.3547, allocations: 23.92 kB / 433.8 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.869e-05/0.3548, allocations: 23.86 kB / 433.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.3551, allocations: 90.3 kB / 433.9 MB, free: 5.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3551, allocations: 7.938 kB / 433.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3551, allocations: 4 kB / 433.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.3551, allocations: 0 / 433.9 MB, free: 5.176 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.0006897/0.3558, allocations: 309.9 kB / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3558, allocations: 12.03 kB / 434.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.484e-05/0.3559, allocations: 8.891 kB / 434.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.3562, allocations: 148.8 kB / 434.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.3562, allocations: 4.375 kB / 434.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.3562, allocations: 384 / 434.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/0.3566, allocations: 157.5 kB / 434.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3566, allocations: 192 / 434.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.3566, allocations: 7.938 kB / 434.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3566, allocations: 0 / 434.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.743e-05/0.3567, allocations: 16 kB / 434.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.3571, allocations: 217.4 kB / 434.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.3572, allocations: 34.56 kB / 434.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.883e-05/0.3572, allocations: 36.83 kB / 434.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004357/0.3577, allocations: 55.94 kB / 434.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.3577, allocations: 30.56 kB / 434.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.3577, allocations: 4 kB / 434.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002678/0.358, allocations: 85.58 kB / 435 MB, free: 3.938 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/0.3581, allocations: 67.33 kB / 435 MB, free: 3.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3582, allocations: 138.2 kB / 435.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3582, allocations: 25.7 kB / 435.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.3583, allocations: 92.12 kB / 435.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.3584, allocations: 11.89 kB / 435.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.3584, allocations: 25.67 kB / 435.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3586, allocations: 322.8 kB / 435.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.781e-05/0.3586, allocations: 19.98 kB / 435.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.026e-05/0.3587, allocations: 58.08 kB / 435.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.3588, allocations: 85.88 kB / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3588, allocations: 0 / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001752/0.359, allocations: 113.4 kB / 435.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.359, allocations: 4.219 kB / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.359, allocations: 8 kB / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.359, allocations: 0 / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.416e-05/0.3591, allocations: 23.94 kB / 436 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3591, allocations: 3.984 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.3592, allocations: 4 kB / 436 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.3592, allocations: 4 kB / 436 MB, free: 2.852 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.0001468/0.3593, allocations: 129.8 kB / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3594, allocations: 77.55 kB / 436.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.3596, allocations: 82.33 kB / 436.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.3596, allocations: 8 kB / 436.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3596, allocations: 0 / 436.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3596, allocations: 0 / 436.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.3598, allocations: 117.3 kB / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.3598, allocations: 7.938 kB / 436.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.149e-05/0.3598, allocations: 11.92 kB / 436.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3598, allocations: 4.078 kB / 436.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.3598, allocations: 0 / 436.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3598, allocations: 0 / 436.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3598, allocations: 0 / 436.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.36, allocations: 101.3 kB / 436.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.36, allocations: 31.88 kB / 436.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.3601, allocations: 8.172 kB / 436.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.286e-05/0.3601, allocations: 0 / 436.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-06/0.3601, allocations: 3.938 kB / 436.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.3601, allocations: 4 kB / 436.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.353e-05/0.3602, allocations: 114 kB / 436.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3602, allocations: 0 / 436.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.3604, allocations: 20 kB / 436.7 MB, free: 2.074 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.0001961/0.3606, allocations: 103.2 kB / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.3608, allocations: 63.83 kB / 436.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3608, allocations: 0 / 436.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.3608, allocations: 0 / 436.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.3612, allocations: 77.62 kB / 436.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.3616, allocations: 181.2 kB / 437.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.3617, allocations: 91.27 kB / 437.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.116e-05/0.3617, allocations: 8.438 kB / 437.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.3618, allocations: 11.44 kB / 437.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3618, allocations: 0 / 437.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of Templates: time 0.004943/0.3667, allocations: 1.481 MB / 438.7 MB, free: 28 kB / 334.1 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 -s cvode -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/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_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: 5.108904327993514]