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.001933/0.001933, allocations: 84.66 kB / 20.95 MB, free: 3.453 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.002234/0.002234, allocations: 153.1 kB / 24.26 MB, free: 156 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 1.458/1.458, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] 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.613e-06/1.613e-06, allocations: 0 / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.811e-05, allocations: 2.312 kB / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002546/0.002574, allocations: 0.8858 MB / 268.2 MB, free: 5.812 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006983/0.003273, allocations: 255 kB / 268.5 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.442e-05/0.003347, allocations: 0 / 268.5 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.142e-05/0.003408, allocations: 11.92 kB / 268.5 MB, free: 5.551 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.003545, allocations: 7.875 kB / 268.5 MB, free: 5.543 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.004, allocations: 99.64 kB / 268.6 MB, free: 5.445 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.00413, allocations: 47.84 kB / 268.6 MB, free: 5.398 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.504e-05/0.004215, allocations: 15.94 kB / 268.7 MB, free: 5.383 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.00428, allocations: 31.91 kB / 268.7 MB, free: 5.352 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.333e-05/0.004343, allocations: 11.92 kB / 268.7 MB, free: 5.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.004362, allocations: 4 kB / 268.7 MB, free: 5.336 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.004475, allocations: 47.89 kB / 268.7 MB, free: 5.289 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.967e-05/0.004545, allocations: 19.92 kB / 268.8 MB, free: 5.27 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.004585, allocations: 15.94 kB / 268.8 MB, free: 5.254 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.004807, allocations: 95.72 kB / 268.9 MB, free: 5.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.004809, allocations: 0 / 268.9 MB, free: 5.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.00481, allocations: 3.938 kB / 268.9 MB, free: 5.156 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.004814, allocations: 0 / 268.9 MB, free: 5.156 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.0005568/0.005371, allocations: 321.9 kB / 269.2 MB, free: 4.809 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.005404, allocations: 8.031 kB / 269.2 MB, free: 4.801 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.005462, allocations: 16.84 kB / 269.2 MB, free: 4.785 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.005753, allocations: 137.6 kB / 269.4 MB, free: 4.625 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.005768, allocations: 8.375 kB / 269.4 MB, free: 4.617 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.005778, allocations: 384 / 269.4 MB, free: 4.617 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.006115, allocations: 149.5 kB / 269.5 MB, free: 4.453 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.006125, allocations: 4.188 kB / 269.5 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.006134, allocations: 384 / 269.5 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.006143, allocations: 4.375 kB / 269.5 MB, free: 4.445 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.113e-05/0.006204, allocations: 27.86 kB / 269.5 MB, free: 4.418 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.006515, allocations: 209.4 kB / 269.7 MB, free: 4.18 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.006628, allocations: 46.55 kB / 269.8 MB, free: 4.125 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.00667, allocations: 16.86 kB / 269.8 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004392/0.007109, allocations: 63.97 kB / 269.9 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.007157, allocations: 46.42 kB / 269.9 MB, free: 3.988 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.007159, allocations: 0 / 269.9 MB, free: 3.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002398/0.007398, allocations: 81.64 kB / 270 MB, free: 3.902 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.007465, allocations: 59.36 kB / 270.1 MB, free: 3.832 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.007639, allocations: 146 kB / 270.2 MB, free: 3.676 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.007661, allocations: 25.7 kB / 270.2 MB, free: 3.645 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/0.007728, allocations: 88.14 kB / 270.3 MB, free: 3.555 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.007743, allocations: 11.94 kB / 270.3 MB, free: 3.543 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.007784, allocations: 21.72 kB / 270.3 MB, free: 3.516 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.007954, allocations: 314.8 kB / 270.7 MB, free: 3.199 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.536e-05/0.00799, allocations: 19.98 kB / 270.7 MB, free: 3.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-05/0.008035, allocations: 34.5 kB / 270.7 MB, free: 3.137 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.728e-05/0.008102, allocations: 42.56 kB / 270.7 MB, free: 3.086 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.008104, allocations: 0 / 270.7 MB, free: 3.086 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001438/0.008248, allocations: 93.59 kB / 270.8 MB, free: 2.988 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.00827, allocations: 11.94 kB / 270.8 MB, free: 2.977 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.008275, allocations: 0 / 270.8 MB, free: 2.977 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.008289, allocations: 3.938 kB / 270.9 MB, free: 2.973 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.581e-05/0.008355, allocations: 8 kB / 270.9 MB, free: 2.965 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.00836, allocations: 0 / 270.9 MB, free: 2.965 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.00839, allocations: 11.92 kB / 270.9 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.008395, allocations: 0 / 270.9 MB, free: 2.953 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.0001359/0.008531, allocations: 121.8 kB / 271 MB, free: 2.824 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.008663, allocations: 85.5 kB / 271.1 MB, free: 2.734 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.008839, allocations: 82.52 kB / 271.2 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.008842, allocations: 0 / 271.2 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.008846, allocations: 0 / 271.2 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.008849, allocations: 128 / 271.2 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.00897, allocations: 125.3 kB / 271.3 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.008975, allocations: 0 / 271.3 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.466e-05/0.00902, allocations: 7.984 kB / 271.3 MB, free: 2.484 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.009022, allocations: 0 / 271.3 MB, free: 2.484 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.009033, allocations: 3.938 kB / 271.3 MB, free: 2.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.009034, allocations: 4 kB / 271.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.009035, allocations: 0 / 271.3 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.009193, allocations: 105.3 kB / 271.4 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.009241, allocations: 15.94 kB / 271.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.009273, allocations: 15.92 kB / 271.4 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.43e-05/0.009297, allocations: 0 / 271.4 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-06/0.009299, allocations: 0 / 271.4 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.009309, allocations: 0 / 271.4 MB, free: 2.324 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.009425, allocations: 110.4 kB / 271.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009425, allocations: 0 / 271.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002337/0.009659, allocations: 31.86 kB / 271.6 MB, free: 2.188 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.0001793/0.009838, allocations: 103.2 kB / 271.7 MB, free: 2.078 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.009965, allocations: 43.91 kB / 271.7 MB, free: 2.035 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.00997, allocations: 4 kB / 271.7 MB, free: 2.031 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.42e-07/0.00997, allocations: 0 / 271.7 MB, free: 2.031 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.01038, allocations: 84.44 kB / 271.8 MB, free: 1.941 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.01078, allocations: 186.3 kB / 272 MB, free: 1.727 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.935e-05/0.01088, allocations: 87.55 kB / 272.1 MB, free: 1.621 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.515e-05/0.0109, allocations: 12.17 kB / 272.1 MB, free: 1.609 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.01094, allocations: 12.5 kB / 272.1 MB, free: 1.598 MB / 250.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01094, allocations: 0 / 272.1 MB, free: 1.598 MB / 250.7 MB Notification: Performance of Templates: time 0.004677/0.01562, allocations: 1.405 MB / 273.5 MB, free: 216 kB / 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.299895306001417]