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.001038/0.001038, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0016/0.002637, allocations: 445.8 kB / 10.44 MB, free: 256 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.0006263/0.0006263, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009188/0.001545, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8461/0.8461, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.145/0.9911, allocations: 52.48 MB / 238.5 MB, free: 7.637 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.292e-06/1.292e-06, allocations: 0 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.663e-05, allocations: 3.719 kB / 239.8 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001413/0.00143, allocations: 0.969 MB / 240.7 MB, free: 5.41 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000326/0.001756, allocations: 252.4 kB / 241 MB, free: 5.164 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.52e-05/0.001821, allocations: 4 kB / 241 MB, free: 5.16 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.113e-05/0.001852, allocations: 3.938 kB / 241 MB, free: 5.156 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.513e-05/0.001927, allocations: 16.53 kB / 241 MB, free: 5.141 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.00217, allocations: 96.72 kB / 241.1 MB, free: 5.047 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.002278, allocations: 41.55 kB / 241.1 MB, free: 5.008 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.244e-05/0.00235, allocations: 23.91 kB / 241.1 MB, free: 4.984 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.908e-05/0.002419, allocations: 23.98 kB / 241.2 MB, free: 4.961 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.056e-05/0.00248, allocations: 15.91 kB / 241.2 MB, free: 4.945 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.002496, allocations: 4 kB / 241.2 MB, free: 4.941 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.055e-05/0.002587, allocations: 45.11 kB / 241.2 MB, free: 4.898 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.71e-05/0.002634, allocations: 19.94 kB / 241.3 MB, free: 4.879 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.002656, allocations: 15.94 kB / 241.3 MB, free: 4.863 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.00278, allocations: 76.61 kB / 241.3 MB, free: 4.789 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.002788, allocations: 0 / 241.3 MB, free: 4.789 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.002788, allocations: 1 kB / 241.3 MB, free: 4.789 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.002798, allocations: 0 / 241.3 MB, free: 4.789 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.000363/0.003161, allocations: 296.3 kB / 241.6 MB, free: 4.473 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.648e-05/0.003188, allocations: 8.781 kB / 241.6 MB, free: 4.465 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.003215, allocations: 12.92 kB / 241.7 MB, free: 4.453 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.003346, allocations: 143 kB / 241.8 MB, free: 4.289 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.003354, allocations: 8.312 kB / 241.8 MB, free: 4.281 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.003364, allocations: 5.031 kB / 241.8 MB, free: 4.277 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.003509, allocations: 117.8 kB / 241.9 MB, free: 4.145 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.003516, allocations: 192 / 241.9 MB, free: 4.145 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.003523, allocations: 4.375 kB / 241.9 MB, free: 4.141 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.00353, allocations: 4.375 kB / 241.9 MB, free: 4.137 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.84e-05/0.003548, allocations: 20.16 kB / 242 MB, free: 4.117 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.003675, allocations: 159.9 kB / 242.1 MB, free: 3.941 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.064e-05/0.003725, allocations: 34.55 kB / 242.1 MB, free: 3.898 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.003739, allocations: 13.7 kB / 242.2 MB, free: 3.883 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/0.00392, allocations: 48.17 kB / 242.2 MB, free: 3.84 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.003938, allocations: 34.56 kB / 242.2 MB, free: 3.797 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 7.91e-07/0.003939, allocations: 0 / 242.2 MB, free: 3.797 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 9.4e-05/0.004033, allocations: 57.69 kB / 242.3 MB, free: 3.734 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.004064, allocations: 59.39 kB / 242.4 MB, free: 3.664 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.815e-05/0.004132, allocations: 141.9 kB / 242.5 MB, free: 3.516 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.118e-06/0.004141, allocations: 33.64 kB / 242.5 MB, free: 3.477 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.363e-05/0.004165, allocations: 88.09 kB / 242.6 MB, free: 3.387 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.174e-06/0.004172, allocations: 5.266 kB / 242.6 MB, free: 3.383 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.004197, allocations: 29.66 kB / 242.6 MB, free: 3.348 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.004258, allocations: 314.8 kB / 242.9 MB, free: 3.031 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.004268, allocations: 6.828 kB / 243 MB, free: 3.023 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.656e-05/0.004284, allocations: 27.62 kB / 243 MB, free: 2.988 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.004315, allocations: 38.8 kB / 243 MB, free: 2.938 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.004317, allocations: 0 / 243 MB, free: 2.938 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.069e-05/0.004367, allocations: 67 kB / 243.1 MB, free: 2.863 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.004379, allocations: 9.781 kB / 243.1 MB, free: 2.855 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.004382, allocations: 0 / 243.1 MB, free: 2.855 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.004394, allocations: 3.938 kB / 243.1 MB, free: 2.852 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.903e-05/0.004433, allocations: 12 kB / 243.1 MB, free: 2.84 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.004435, allocations: 0.6562 kB / 243.1 MB, free: 2.84 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.338e-05/0.004449, allocations: 0 / 243.1 MB, free: 2.84 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.004453, allocations: 4.688 kB / 243.1 MB, free: 2.836 MB / 234.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.794e-05/0.004521, allocations: 126.6 kB / 243.2 MB, free: 2.703 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.004555, allocations: 53.61 kB / 243.3 MB, free: 2.645 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.178e-05/0.004627, allocations: 54.47 kB / 243.3 MB, free: 2.582 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.004631, allocations: 7.875 kB / 243.4 MB, free: 2.574 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.004632, allocations: 0 / 243.4 MB, free: 2.574 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.004636, allocations: 4.484 kB / 243.4 MB, free: 2.57 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.271e-05/0.004679, allocations: 69.89 kB / 243.4 MB, free: 2.484 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.004685, allocations: 8.797 kB / 243.4 MB, free: 2.477 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.004707, allocations: 4 kB / 243.4 MB, free: 2.473 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.004731, allocations: 17.56 kB / 243.5 MB, free: 2.457 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.004733, allocations: 7.984 kB / 243.5 MB, free: 2.449 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-06/0.004736, allocations: 0 / 243.5 MB, free: 2.449 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.004738, allocations: 3.938 kB / 243.5 MB, free: 2.445 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.004739, allocations: 8.031 kB / 243.5 MB, free: 2.438 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.136e-05/0.004771, allocations: 56.11 kB / 243.5 MB, free: 2.363 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.004787, allocations: 11.98 kB / 243.5 MB, free: 2.352 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.035e-05/0.004797, allocations: 4 kB / 243.5 MB, free: 2.348 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-06/0.0048, allocations: 0 / 243.5 MB, free: 2.348 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.004807, allocations: 7.938 kB / 243.6 MB, free: 2.34 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.112e-05/0.004828, allocations: 24.83 kB / 243.6 MB, free: 2.312 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004828, allocations: 0 / 243.6 MB, free: 2.312 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001021/0.004931, allocations: 12 kB / 243.6 MB, free: 2.301 MB / 234.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 9.963e-05/0.00503, allocations: 104.3 kB / 243.7 MB, free: 2.191 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.05e-05/0.005091, allocations: 28.72 kB / 243.7 MB, free: 2.16 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.005095, allocations: 4 kB / 243.7 MB, free: 2.156 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.005095, allocations: 0 / 243.7 MB, free: 2.156 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.0053, allocations: 219.8 kB / 243.9 MB, free: 1.906 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002065/0.005506, allocations: 216.9 kB / 244.2 MB, free: 1.656 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.777e-05/0.005534, allocations: 67.33 kB / 244.2 MB, free: 1.57 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.531e-05/0.005549, allocations: 4 kB / 244.2 MB, free: 1.566 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.005598, allocations: 63.64 kB / 244.3 MB, free: 1.504 MB / 234.7 MB Notification: Performance of SimCode: time 5.21e-07/0.005599, allocations: 4 kB / 244.3 MB, free: 1.5 MB / 234.7 MB Notification: Performance of Templates: time 0.002639/0.008237, allocations: 1.512 MB / 245.8 MB, free: 20 kB / 234.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3078939924016595]