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.001075/0.001075, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 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.001074/0.001074, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 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.9641/0.9641, allocations: 173.3 MB / 201.1 MB, free: 8.965 MB / 186.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 2.435e-06/2.435e-06, allocations: 3.938 kB / 268 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.082e-05, allocations: 2.312 kB / 268 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001648/0.001679, allocations: 0.92 MB / 268.9 MB, free: 5.359 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005061/0.002185, allocations: 247 kB / 269.2 MB, free: 5.117 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.776e-05/0.002273, allocations: 7.938 kB / 269.2 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.245e-05/0.002326, allocations: 7.922 kB / 269.2 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.002493, allocations: 11.88 kB / 269.2 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.002914, allocations: 99.64 kB / 269.3 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.003041, allocations: 51.83 kB / 269.3 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.003133, allocations: 8 kB / 269.3 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.358e-05/0.003186, allocations: 31.91 kB / 269.4 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.03e-05/0.003257, allocations: 11.98 kB / 269.4 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.003281, allocations: 7.984 kB / 269.4 MB, free: 4.883 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.051e-05/0.003371, allocations: 39.91 kB / 269.4 MB, free: 4.844 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.582e-05/0.003447, allocations: 23.92 kB / 269.5 MB, free: 4.82 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.003484, allocations: 12 kB / 269.5 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.003791, allocations: 83.64 kB / 269.6 MB, free: 4.727 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.003793, allocations: 0 / 269.6 MB, free: 4.727 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.003794, allocations: 4 kB / 269.6 MB, free: 4.723 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.003799, allocations: 0 / 269.6 MB, free: 4.723 MB / 250.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.0004751/0.004274, allocations: 412.2 kB / 270 MB, free: 4.281 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.004316, allocations: 12.03 kB / 270 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.004367, allocations: 12.84 kB / 270 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.004569, allocations: 147.5 kB / 270.1 MB, free: 4.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.00458, allocations: 8.312 kB / 270.1 MB, free: 4.082 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.004592, allocations: 4.375 kB / 270.1 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.00483, allocations: 136.9 kB / 270.3 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.004838, allocations: 192 / 270.3 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.004851, allocations: 8.359 kB / 270.3 MB, free: 3.914 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.004859, allocations: 384 / 270.3 MB, free: 3.914 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.782e-05/0.004887, allocations: 15.88 kB / 270.3 MB, free: 3.898 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.005133, allocations: 267.5 kB / 270.6 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.569e-05/0.005219, allocations: 38.98 kB / 270.6 MB, free: 3.547 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.019e-05/0.005249, allocations: 23.69 kB / 270.6 MB, free: 3.52 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.005536, allocations: 55.98 kB / 270.7 MB, free: 3.465 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.005561, allocations: 49.25 kB / 270.7 MB, free: 3.406 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.005563, allocations: 0 / 270.7 MB, free: 3.406 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001676/0.00573, allocations: 65.62 kB / 270.8 MB, free: 3.336 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.00578, allocations: 59.36 kB / 270.8 MB, free: 3.266 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.00588, allocations: 201.8 kB / 271 MB, free: 3.051 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.00589, allocations: 25.7 kB / 271.1 MB, free: 3.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.005943, allocations: 138.9 kB / 271.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.005958, allocations: 7.938 kB / 271.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.00599, allocations: 23.38 kB / 271.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.006115, allocations: 0.4923 MB / 271.7 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.006127, allocations: 4 kB / 271.7 MB, free: 2.332 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.673e-05/0.006154, allocations: 35.06 kB / 271.8 MB, free: 2.285 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.188e-05/0.006196, allocations: 46.98 kB / 271.8 MB, free: 2.227 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.006199, allocations: 0 / 271.8 MB, free: 2.227 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.489e-05/0.006274, allocations: 57.59 kB / 271.9 MB, free: 2.164 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.006291, allocations: 11.94 kB / 271.9 MB, free: 2.152 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.006296, allocations: 0 / 271.9 MB, free: 2.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.006311, allocations: 3.984 kB / 271.9 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.006375, allocations: 8 kB / 271.9 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.006382, allocations: 4.125 kB / 271.9 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.271e-05/0.006405, allocations: 4 kB / 271.9 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.006412, allocations: 8.031 kB / 271.9 MB, free: 2.125 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 0.0001093/0.006522, allocations: 164.6 kB / 272.1 MB, free: 1.953 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.846e-05/0.00659, allocations: 65.52 kB / 272.1 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.006701, allocations: 74.47 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.006705, allocations: 4 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.006709, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.006713, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.757e-05/0.00679, allocations: 128.6 kB / 272.3 MB, free: 1.637 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.006796, allocations: 4 kB / 272.3 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.006829, allocations: 4 kB / 272.3 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.006832, allocations: 4 kB / 272.3 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.00684, allocations: 3.938 kB / 272.3 MB, free: 1.621 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.006841, allocations: 0 / 272.3 MB, free: 1.621 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.006843, allocations: 3.938 kB / 272.4 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.465e-05/0.006928, allocations: 96.39 kB / 272.4 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.006961, allocations: 19.88 kB / 272.5 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.006987, allocations: 11.92 kB / 272.5 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.181e-05/0.006999, allocations: 4 kB / 272.5 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-06/0.007002, allocations: 0 / 272.5 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.007011, allocations: 0 / 272.5 MB, free: 1.465 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.835e-05/0.007069, allocations: 146.1 kB / 272.6 MB, free: 1.324 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.00707, allocations: 4 kB / 272.6 MB, free: 1.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001437/0.007213, allocations: 16 kB / 272.6 MB, free: 1.305 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.0001496/0.007363, allocations: 107.2 kB / 272.7 MB, free: 1.191 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.007485, allocations: 35.61 kB / 272.8 MB, free: 1.152 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.007488, allocations: 3.938 kB / 272.8 MB, free: 1.148 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.007488, allocations: 0 / 272.8 MB, free: 1.148 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.007805, allocations: 72.45 kB / 272.9 MB, free: 1.07 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.008075, allocations: 184.1 kB / 273 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.937e-05/0.008115, allocations: 63.34 kB / 273.1 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.854e-05/0.008133, allocations: 4 kB / 273.1 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.008154, allocations: 16.48 kB / 273.1 MB, free: 0.75 MB / 250.7 MB Notification: Performance of SimCode: time 6.42e-07/0.008155, allocations: 0 / 273.1 MB, free: 0.75 MB / 250.7 MB Notification: Performance of Templates: time 0.003558/0.01171, allocations: 1.49 MB / 274.6 MB, free: 15.27 MB / 266.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 -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.7005268605425954]