Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001085/0.001085, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001329/0.001329, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9777/0.9777, allocations: 177 MB / 204.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 3.984 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.131e-05/3.448e-05, allocations: 2.312 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001762/0.001796, allocations: 0.9069 MB / 273.8 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005541/0.00235, allocations: 258.9 kB / 274.1 MB, free: 312 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.002454, allocations: 3.938 kB / 274.1 MB, free: 308 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.021e-05/0.002514, allocations: 3.938 kB / 274.1 MB, free: 304 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.002687, allocations: 19.91 kB / 274.1 MB, free: 284 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.00307, allocations: 99.69 kB / 274.2 MB, free: 184 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.003191, allocations: 39.86 kB / 274.2 MB, free: 144 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.055e-05/0.003281, allocations: 23.92 kB / 274.3 MB, free: 120 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.003331, allocations: 23.92 kB / 274.3 MB, free: 96 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.277e-05/0.003403, allocations: 15.91 kB / 274.3 MB, free: 80 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.003423, allocations: 4 kB / 274.3 MB, free: 76 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.677e-05/0.003509, allocations: 43.95 kB / 274.4 MB, free: 32 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.076e-05/0.00357, allocations: 19.92 kB / 274.4 MB, free: 12 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.003614, allocations: 20.02 kB / 274.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.003771, allocations: 75.62 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.003774, allocations: 0 / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.003775, allocations: 0 / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.003781, allocations: 4 kB / 274.5 MB, free: 15.91 MB / 266.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.0004291/0.00421, allocations: 420.2 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.00425, allocations: 11.98 kB / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.004295, allocations: 16.89 kB / 274.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.004471, allocations: 145.2 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.004481, allocations: 4.375 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.004491, allocations: 384 / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.004736, allocations: 144.8 kB / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.004745, allocations: 192 / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.004755, allocations: 384 / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.004764, allocations: 384 / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.543e-05/0.004789, allocations: 15.88 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.005064, allocations: 275.5 kB / 275.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.979e-05/0.005153, allocations: 43 kB / 275.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.005182, allocations: 15.72 kB / 275.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003042/0.005486, allocations: 63.94 kB / 275.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.005511, allocations: 37.33 kB / 275.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.005513, allocations: 0 / 275.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001701/0.005683, allocations: 65.64 kB / 275.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.005726, allocations: 59.34 kB / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.006073, allocations: 201.2 kB / 276 MB, free: 14.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.006085, allocations: 25.7 kB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.006136, allocations: 138.9 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.00615, allocations: 7.953 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.006181, allocations: 31.33 kB / 276.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.0063, allocations: 496.1 kB / 276.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.006316, allocations: 8 kB / 276.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.006342, allocations: 35.05 kB / 276.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.836e-05/0.00638, allocations: 39 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006382, allocations: 3.938 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.851e-05/0.006461, allocations: 69.62 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.006477, allocations: 7.938 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.006482, allocations: 0 / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.006497, allocations: 0 / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.817e-05/0.006565, allocations: 8 kB / 276.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.00657, allocations: 4 kB / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/0.006587, allocations: 3.953 kB / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.006594, allocations: 4 kB / 276.8 MB, free: 13.32 MB / 266.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 7.844e-05/0.006672, allocations: 168.7 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.006729, allocations: 69.62 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.006838, allocations: 74.72 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.006841, allocations: 0 / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.006846, allocations: 4.109 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.00685, allocations: 4 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.015e-05/0.00692, allocations: 128.6 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.006924, allocations: 0 / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.006953, allocations: 4 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006955, allocations: 0 / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.006964, allocations: 7.922 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.006966, allocations: 7.938 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.006966, allocations: 0 / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.148e-05/0.007048, allocations: 92.39 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.007081, allocations: 27.81 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.007104, allocations: 7.938 kB / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.245e-05/0.007116, allocations: 4 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-06/0.007119, allocations: 0 / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.007128, allocations: 0 / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.008e-05/0.007188, allocations: 151.1 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007188, allocations: 0 / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001408/0.007329, allocations: 12 kB / 277.6 MB, free: 12.48 MB / 266.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.0001416/0.007471, allocations: 111.2 kB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.6e-05/0.007567, allocations: 35.61 kB / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007568, allocations: 0 / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-07/0.007569, allocations: 0 / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.007843, allocations: 71.72 kB / 277.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.008112, allocations: 183.9 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.479e-05/0.008157, allocations: 67.33 kB / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.015e-05/0.008177, allocations: 8.188 kB / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.0082, allocations: 12.5 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of SimCode: time 5.92e-07/0.0082, allocations: 0 / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of Templates: time 0.0034/0.0116, allocations: 1.473 MB / 279.5 MB, free: 10.47 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.867229579947889]