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.001224/0.001224, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.00137/0.00137, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 8.227 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.001633/0.001633, allocations: 43.92 kB / 379 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.221, allocations: 53.37 MB / 432.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002478/0.2234, allocations: 0.9023 MB / 433.3 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006286/0.2241, allocations: 255 kB / 433.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-05/0.2241, allocations: 4 kB / 433.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.36e-05/0.2242, allocations: 7.875 kB / 433.6 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.2243, allocations: 15.92 kB / 433.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.2247, allocations: 91.73 kB / 433.7 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.2249, allocations: 55.77 kB / 433.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.225, allocations: 12 kB / 433.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.027e-05/0.225, allocations: 19.92 kB / 433.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.392e-05/0.2251, allocations: 19.86 kB / 433.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2251, allocations: 4 kB / 433.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.2252, allocations: 39.97 kB / 433.8 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/0.2252, allocations: 27.89 kB / 433.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.2253, allocations: 27.81 kB / 433.9 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.2255, allocations: 92.83 kB / 434 MB, free: 5.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2255, allocations: 7.938 kB / 434 MB, free: 5.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2255, allocations: 0 / 434 MB, free: 5.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.2255, allocations: 0 / 434 MB, free: 5.395 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.0005073/0.226, allocations: 313.9 kB / 434.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.226, allocations: 8.031 kB / 434.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.226, allocations: 8.891 kB / 434.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.2263, allocations: 149.4 kB / 434.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.2263, allocations: 4.375 kB / 434.4 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.2263, allocations: 8.375 kB / 434.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.2266, allocations: 153.5 kB / 434.6 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2266, allocations: 192 / 434.6 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.2266, allocations: 3.938 kB / 434.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.2266, allocations: 4 kB / 434.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.427e-05/0.2267, allocations: 23.92 kB / 434.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.227, allocations: 240.8 kB / 434.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.713e-05/0.2271, allocations: 42.5 kB / 434.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.2271, allocations: 16.86 kB / 434.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003878/0.2275, allocations: 63.97 kB / 435 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.2276, allocations: 34.5 kB / 435 MB, free: 4.203 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.2276, allocations: 0 / 435 MB, free: 4.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000202/0.2278, allocations: 85.64 kB / 435.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.2278, allocations: 55.41 kB / 435.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.228, allocations: 153.8 kB / 435.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.228, allocations: 25.7 kB / 435.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.228, allocations: 92.12 kB / 435.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.228, allocations: 19.83 kB / 435.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.2281, allocations: 17.72 kB / 435.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2282, allocations: 326.8 kB / 435.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.2283, allocations: 23.92 kB / 435.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.2283, allocations: 66.06 kB / 435.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.863e-05/0.2284, allocations: 77.94 kB / 435.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2284, allocations: 4 kB / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001581/0.2286, allocations: 113.4 kB / 436.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.2286, allocations: 4 kB / 436.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2286, allocations: 4 kB / 436.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2286, allocations: 4.219 kB / 436.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.307e-05/0.2287, allocations: 16 kB / 436.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2287, allocations: 3.984 kB / 436.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.021e-05/0.2287, allocations: 11.95 kB / 436.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.2287, allocations: 7.938 kB / 436.1 MB, free: 3.012 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.0001093/0.2288, allocations: 125.8 kB / 436.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-05/0.2289, allocations: 73.62 kB / 436.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.2291, allocations: 90.48 kB / 436.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.2291, allocations: 8 kB / 436.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2291, allocations: 4 kB / 436.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2291, allocations: 0 / 436.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.2292, allocations: 156.5 kB / 436.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2292, allocations: 0 / 436.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.2293, allocations: 4 kB / 436.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.2293, allocations: 0 / 436.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.2293, allocations: 0 / 436.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2293, allocations: 0 / 436.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.2293, allocations: 0 / 436.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.2294, allocations: 108.9 kB / 436.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.2295, allocations: 23.94 kB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.2295, allocations: 8 kB / 436.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.194e-05/0.2295, allocations: 0 / 436.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-06/0.2295, allocations: 0 / 436.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.2295, allocations: 4 kB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.411e-05/0.2296, allocations: 117.1 kB / 436.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2296, allocations: 0 / 436.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000211/0.2298, allocations: 19.94 kB / 436.8 MB, free: 2.199 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.0001507/0.23, allocations: 119.3 kB / 437 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.2301, allocations: 55.89 kB / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2301, allocations: 4 kB / 437 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.2301, allocations: 0 / 437 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.2305, allocations: 77.62 kB / 437.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.2308, allocations: 211.5 kB / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.2312, allocations: 0.701 MB / 438 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.2312, allocations: 11.44 kB / 438 MB, free: 0.957 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.2312, allocations: 0 / 438 MB, free: 0.957 MB / 334.1 MB Notification: Performance of Templates: time 0.003157/0.2344, allocations: 1.303 MB / 439.3 MB, free: 15.66 MB / 350.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 -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: 6.695758610032499]