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.00114/0.00114, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001614/0.002754, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0007561/0.0007561, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009605/0.001717, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.947/0.947, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08323/1.03, allocations: 52.5 MB / 238.3 MB, free: 4.441 MB / 234.7 MB " [Timeout remaining time 179] 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 1.222e-06/1.222e-06, allocations: 0 / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.864e-05, allocations: 2.875 kB / 239.6 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001392/0.001411, allocations: 0.9661 MB / 240.5 MB, free: 2.223 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003176/0.001729, allocations: 252.6 kB / 240.8 MB, free: 1.977 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.001796, allocations: 3.938 kB / 240.8 MB, free: 1.973 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.856e-05/0.001835, allocations: 7.922 kB / 240.8 MB, free: 1.965 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.001915, allocations: 11.94 kB / 240.8 MB, free: 1.953 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.002161, allocations: 103.5 kB / 240.9 MB, free: 1.852 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.743e-05/0.002258, allocations: 43.86 kB / 240.9 MB, free: 1.809 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.595e-05/0.002334, allocations: 15.94 kB / 240.9 MB, free: 1.793 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.381e-05/0.002398, allocations: 31.91 kB / 241 MB, free: 1.762 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.105e-05/0.002459, allocations: 15.97 kB / 241 MB, free: 1.746 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.002476, allocations: 4 kB / 241 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.018e-05/0.002566, allocations: 39.97 kB / 241 MB, free: 1.703 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.002613, allocations: 15.94 kB / 241.1 MB, free: 1.688 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.002634, allocations: 15.94 kB / 241.1 MB, free: 1.672 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.002764, allocations: 83.59 kB / 241.1 MB, free: 1.59 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.002774, allocations: 0 / 241.1 MB, free: 1.59 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.002775, allocations: 0 / 241.1 MB, free: 1.59 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.002789, allocations: 4 kB / 241.2 MB, free: 1.586 MB / 234.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.0003735/0.003162, allocations: 292.3 kB / 241.4 MB, free: 1.273 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.00319, allocations: 15.98 kB / 241.5 MB, free: 1.258 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.003219, allocations: 12.92 kB / 241.5 MB, free: 1.246 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.003363, allocations: 141.5 kB / 241.6 MB, free: 1.082 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-06/0.00337, allocations: 384 / 241.6 MB, free: 1.082 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-06/0.003378, allocations: 8.375 kB / 241.6 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.003527, allocations: 127.1 kB / 241.7 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.003533, allocations: 192 / 241.7 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-06/0.00354, allocations: 4.375 kB / 241.7 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.003545, allocations: 384 / 241.7 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.922e-05/0.003564, allocations: 10.77 kB / 241.8 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.003698, allocations: 156 kB / 241.9 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.037e-05/0.003749, allocations: 38.47 kB / 241.9 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.581e-05/0.003764, allocations: 12.92 kB / 242 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.003958, allocations: 56 kB / 242 MB, free: 0.625 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.003976, allocations: 34.56 kB / 242 MB, free: 0.582 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.003977, allocations: 0 / 242 MB, free: 0.582 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001022/0.004079, allocations: 61.78 kB / 242.1 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.004116, allocations: 59.39 kB / 242.2 MB, free: 456 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.588e-05/0.004182, allocations: 133.6 kB / 242.3 MB, free: 312 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.004197, allocations: 29.7 kB / 242.3 MB, free: 276 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.004225, allocations: 96.02 kB / 242.4 MB, free: 176 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.107e-06/0.004234, allocations: 7.984 kB / 242.4 MB, free: 168 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.004261, allocations: 25.67 kB / 242.4 MB, free: 136 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.004337, allocations: 314.8 kB / 242.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.878e-06/0.004347, allocations: 6.828 kB / 242.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.971e-05/0.004366, allocations: 34.55 kB / 242.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.158e-05/0.004398, allocations: 41.84 kB / 242.8 MB, free: 15.71 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.0044, allocations: 0 / 242.8 MB, free: 15.71 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.583e-05/0.004456, allocations: 70.09 kB / 242.9 MB, free: 15.63 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.004468, allocations: 4 kB / 242.9 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.004473, allocations: 0 / 242.9 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-06/0.004482, allocations: 3.938 kB / 242.9 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.651e-05/0.004528, allocations: 12 kB / 242.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.004531, allocations: 0 / 242.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/0.004548, allocations: 7.938 kB / 242.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.004552, allocations: 4 kB / 242.9 MB, free: 15.6 MB / 250.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 6.943e-05/0.004621, allocations: 120.7 kB / 243.1 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.004659, allocations: 49.81 kB / 243.1 MB, free: 15.42 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.867e-05/0.004737, allocations: 58.47 kB / 243.2 MB, free: 15.35 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.004742, allocations: 11.92 kB / 243.2 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.004745, allocations: 4.141 kB / 243.2 MB, free: 15.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.004749, allocations: 3.984 kB / 243.2 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.825e-05/0.004797, allocations: 73.88 kB / 243.3 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.004801, allocations: 0 / 243.3 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.004826, allocations: 7.938 kB / 243.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.004852, allocations: 19.89 kB / 243.3 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.004853, allocations: 0 / 243.3 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-06/0.004857, allocations: 4 kB / 243.3 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.004859, allocations: 3.938 kB / 243.3 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.00486, allocations: 0 / 243.3 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.731e-05/0.004898, allocations: 59.97 kB / 243.3 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.004912, allocations: 3.984 kB / 243.3 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.074e-05/0.004923, allocations: 0 / 243.3 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-06/0.004925, allocations: 0 / 243.3 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.004933, allocations: 7.938 kB / 243.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.042e-05/0.004953, allocations: 24.83 kB / 243.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004953, allocations: 0 / 243.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001061/0.00506, allocations: 20 kB / 243.4 MB, free: 15.07 MB / 250.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.0001099/0.005169, allocations: 100.3 kB / 243.5 MB, free: 14.96 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.897e-05/0.005228, allocations: 28.83 kB / 243.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.005232, allocations: 4 kB / 243.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.4e-07/0.005232, allocations: 0 / 243.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.005412, allocations: 71.28 kB / 243.6 MB, free: 14.85 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002176/0.00563, allocations: 213 kB / 243.8 MB, free: 14.61 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.297e-05/0.005663, allocations: 67.34 kB / 243.9 MB, free: 14.52 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.548e-05/0.005678, allocations: 12.17 kB / 243.9 MB, free: 14.51 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.00573, allocations: 59.38 kB / 243.9 MB, free: 14.45 MB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.00573, allocations: 0 / 243.9 MB, free: 14.45 MB / 250.7 MB Notification: Performance of Templates: time 0.002818/0.008549, allocations: 1.516 MB / 245.5 MB, free: 12.95 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 240] 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","",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.380625174380839]