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.001028/0.001028, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001017/0.001017, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9698/0.9698, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 2.164e-06/2.164e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.337e-05/3.554e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001625/0.001661, allocations: 0.9188 MB / 273.9 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005236/0.002184, allocations: 255 kB / 274.2 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.563e-05/0.00227, allocations: 4 kB / 274.2 MB, free: 376 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.442e-05/0.002324, allocations: 7.875 kB / 274.2 MB, free: 368 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.002495, allocations: 11.92 kB / 274.2 MB, free: 356 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.002896, allocations: 95.7 kB / 274.3 MB, free: 260 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.003031, allocations: 47.84 kB / 274.3 MB, free: 212 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.003134, allocations: 15.92 kB / 274.3 MB, free: 196 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.271e-05/0.003186, allocations: 19.92 kB / 274.4 MB, free: 176 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.592e-05/0.003262, allocations: 23.92 kB / 274.4 MB, free: 152 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.003287, allocations: 7.938 kB / 274.4 MB, free: 144 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.951e-05/0.003387, allocations: 39.94 kB / 274.4 MB, free: 104 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.22e-05/0.003469, allocations: 27.92 kB / 274.4 MB, free: 76 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.003505, allocations: 11.94 kB / 274.5 MB, free: 64 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.003723, allocations: 75.77 kB / 274.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.003725, allocations: 0 / 274.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.003726, allocations: 0 / 274.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.003734, allocations: 0 / 274.5 MB, free: 15.99 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.0006251/0.004359, allocations: 420.2 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.004402, allocations: 16.03 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.004447, allocations: 8.891 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.004631, allocations: 147.3 kB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.004641, allocations: 4.375 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.004656, allocations: 8.359 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.004902, allocations: 132.8 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.004911, allocations: 4.172 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.004921, allocations: 4.375 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.004931, allocations: 8.312 kB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.629e-05/0.004957, allocations: 15.92 kB / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.005185, allocations: 271.4 kB / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.436e-05/0.00526, allocations: 39.06 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.005288, allocations: 23.7 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/0.005561, allocations: 59.94 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.005588, allocations: 37.33 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.005589, allocations: 0 / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001893/0.005779, allocations: 69.58 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.005845, allocations: 59.41 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.00597, allocations: 193.9 kB / 276 MB, free: 14.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.006007, allocations: 29.7 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.006064, allocations: 130.9 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.006078, allocations: 11.95 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.006114, allocations: 31.31 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.006263, allocations: 0.4884 MB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.006277, allocations: 4 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.629e-05/0.006303, allocations: 35.17 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.699e-05/0.00634, allocations: 43 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.006343, allocations: 4 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.961e-05/0.006412, allocations: 65.66 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.006426, allocations: 7.938 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.006431, allocations: 4 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.006442, allocations: 0 / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.261e-05/0.006494, allocations: 11.94 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.0065, allocations: 3.938 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.006518, allocations: 7.953 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.006524, allocations: 3.984 kB / 276.9 MB, free: 13.38 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 8.012e-05/0.006604, allocations: 171 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.006658, allocations: 61.58 kB / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.006759, allocations: 70.53 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.006763, allocations: 3.984 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.006766, allocations: 0 / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.006769, allocations: 0 / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.033e-05/0.006839, allocations: 128.6 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.006843, allocations: 0 / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.006868, allocations: 4 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.006871, allocations: 3.984 kB / 277.3 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.006881, allocations: 11.94 kB / 277.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006882, allocations: 0 / 277.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.006884, allocations: 0 / 277.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.00706, allocations: 96.39 kB / 277.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.007091, allocations: 19.88 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.007113, allocations: 7.938 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.152e-05/0.007125, allocations: 7.875 kB / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-06/0.007128, allocations: 0 / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.007141, allocations: 4 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.497e-05/0.007206, allocations: 154.2 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007206, allocations: 0 / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001512/0.007357, allocations: 16 kB / 277.6 MB, free: 12.55 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.0001469/0.007504, allocations: 119.4 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.007616, allocations: 23.69 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007617, allocations: 0 / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.007618, allocations: 3.938 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.007914, allocations: 72.52 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.008153, allocations: 176 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.71e-05/0.00819, allocations: 67.33 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.601e-05/0.008206, allocations: 4 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/0.008225, allocations: 12.69 kB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008226, allocations: 0 / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of Templates: time 0.003261/0.01149, allocations: 1.476 MB / 279.6 MB, free: 10.55 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.8508321661502123]