Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 55.89 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3368, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002515/0.3393, allocations: 0.9129 MB / 421.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006794/0.34, allocations: 255.1 kB / 422 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.842e-05/0.34, allocations: 3.938 kB / 422 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.717e-05/0.3401, allocations: 7.938 kB / 422 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.3403, allocations: 7.922 kB / 422.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.3408, allocations: 98.73 kB / 422.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.3409, allocations: 47.72 kB / 422.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.341, allocations: 19.98 kB / 422.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.223e-05/0.341, allocations: 11.94 kB / 422.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.122e-05/0.3411, allocations: 27.86 kB / 422.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.3412, allocations: 0 / 422.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.3413, allocations: 39.95 kB / 422.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.254e-05/0.3413, allocations: 23.91 kB / 422.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.3414, allocations: 27.81 kB / 422.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.3416, allocations: 100.8 kB / 422.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3416, allocations: 4 kB / 422.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3416, allocations: 0 / 422.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.3416, allocations: 4 kB / 422.5 MB, free: 13.55 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.0006406/0.3422, allocations: 383 kB / 422.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3423, allocations: 11.89 kB / 422.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.3423, allocations: 16.84 kB / 422.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.3426, allocations: 204.1 kB / 423.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3426, allocations: 4.375 kB / 423.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.3427, allocations: 12.31 kB / 423.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.343, allocations: 145.6 kB / 423.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.343, allocations: 192 / 423.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.343, allocations: 3.938 kB / 423.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.343, allocations: 4 kB / 423.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.965e-05/0.3431, allocations: 23.94 kB / 423.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.3434, allocations: 269.7 kB / 423.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.452e-05/0.3435, allocations: 42.5 kB / 423.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.3436, allocations: 24.8 kB / 423.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000758/0.3443, allocations: 0.5857 MB / 424.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.3444, allocations: 30.56 kB / 424.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3444, allocations: 0 / 424.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000238/0.3446, allocations: 89.81 kB / 424.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.3447, allocations: 59.39 kB / 424.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.3448, allocations: 153.8 kB / 424.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.3448, allocations: 25.7 kB / 424.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.3449, allocations: 84.14 kB / 424.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.3449, allocations: 15.89 kB / 424.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.345, allocations: 29.64 kB / 424.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3451, allocations: 318.8 kB / 424.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.3452, allocations: 19.98 kB / 425 MB, free: 10.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.3452, allocations: 66 kB / 425 MB, free: 10.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.3453, allocations: 85.86 kB / 425.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3453, allocations: 0 / 425.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001656/0.3455, allocations: 105.5 kB / 425.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3455, allocations: 8 kB / 425.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3455, allocations: 0 / 425.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.3456, allocations: 8.266 kB / 425.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.936e-05/0.3456, allocations: 19.97 kB / 425.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.3457, allocations: 7.938 kB / 425.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.958e-05/0.3457, allocations: 11.95 kB / 425.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3457, allocations: 4 kB / 425.3 MB, free: 10.31 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.0001248/0.3458, allocations: 133.7 kB / 425.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.3459, allocations: 73.7 kB / 425.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.3461, allocations: 90.27 kB / 425.6 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3461, allocations: 4 kB / 425.6 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3461, allocations: 0 / 425.6 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3461, allocations: 0 / 425.6 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.3463, allocations: 181.5 kB / 425.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3463, allocations: 0 / 425.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.3463, allocations: 4.188 kB / 425.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3463, allocations: 0 / 425.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3463, allocations: 3.938 kB / 425.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.3463, allocations: 7.984 kB / 425.8 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3463, allocations: 0 / 425.8 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.3465, allocations: 105 kB / 425.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.042e-05/0.3466, allocations: 97 kB / 426 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.3466, allocations: 7.984 kB / 426 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.22e-05/0.3466, allocations: 0 / 426 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-06/0.3466, allocations: 0 / 426 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.3466, allocations: 8 kB / 426 MB, free: 9.496 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.78e-05/0.3467, allocations: 118.2 kB / 426.1 MB, free: 9.383 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3467, allocations: 0 / 426.1 MB, free: 9.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.3469, allocations: 16 kB / 426.1 MB, free: 9.367 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.000195/0.3471, allocations: 115.2 kB / 426.2 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.3473, allocations: 43.92 kB / 426.3 MB, free: 9.203 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3473, allocations: 0 / 426.3 MB, free: 9.203 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.3473, allocations: 0 / 426.3 MB, free: 9.203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.3477, allocations: 77.64 kB / 426.3 MB, free: 9.121 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004218/0.3481, allocations: 189.7 kB / 426.5 MB, free: 8.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.3485, allocations: 0.7039 MB / 427.2 MB, free: 8.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.129e-05/0.3485, allocations: 4.672 kB / 427.2 MB, free: 8.172 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.3485, allocations: 11.44 kB / 427.2 MB, free: 8.16 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3485, allocations: 0 / 427.2 MB, free: 8.16 MB / 334.1 MB Notification: Performance of Templates: time 0.005034/0.3536, allocations: 1.385 MB / 428.6 MB, free: 6.781 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0512512400746346]