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.0008369/0.0008369, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009756/0.0009756, allocations: 164.2 kB / 24.99 MB, free: 8.793 MB / 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 1.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.641 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 1.724e-06/1.724e-06, allocations: 0 / 273.1 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.105e-05, allocations: 6.312 kB / 273.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.005222/0.005253, allocations: 0.9079 MB / 274 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006063/0.005859, allocations: 247 kB / 274.2 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.734e-05/0.005956, allocations: 0 / 274.2 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.534e-05/0.006012, allocations: 11.92 kB / 274.2 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.006182, allocations: 11.88 kB / 274.2 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.006645, allocations: 99.64 kB / 274.3 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.006777, allocations: 47.84 kB / 274.4 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.843e-05/0.006875, allocations: 19.91 kB / 274.4 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003083/0.009958, allocations: 23.92 kB / 274.4 MB, free: 500 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.55e-05/0.01004, allocations: 15.92 kB / 274.4 MB, free: 484 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.01007, allocations: 4 kB / 274.4 MB, free: 480 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.01018, allocations: 43.95 kB / 274.5 MB, free: 436 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.01025, allocations: 23.92 kB / 274.5 MB, free: 412 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.01028, allocations: 15.98 kB / 274.5 MB, free: 396 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.01049, allocations: 79.7 kB / 274.6 MB, free: 316 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.0105, allocations: 0 / 274.6 MB, free: 316 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.0105, allocations: 0 / 274.6 MB, free: 316 kB / 250.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.0105, allocations: 0 / 274.6 MB, free: 316 kB / 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.0005379/0.01104, allocations: 420.1 kB / 275 MB, free: 15.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.01109, allocations: 8.031 kB / 275 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.01114, allocations: 12.89 kB / 275 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.01135, allocations: 147.7 kB / 275.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.01136, allocations: 4.375 kB / 275.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.01138, allocations: 4.375 kB / 275.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.01163, allocations: 140.8 kB / 275.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.01164, allocations: 192 / 275.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.01165, allocations: 384 / 275.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.01166, allocations: 384 / 275.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.065e-05/0.01169, allocations: 19.88 kB / 275.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.01205, allocations: 271.5 kB / 275.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.01215, allocations: 47.03 kB / 275.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.01218, allocations: 19.61 kB / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003597/0.01254, allocations: 67.97 kB / 275.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.01257, allocations: 37.33 kB / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.01257, allocations: 0 / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.003235/0.01581, allocations: 73.64 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.01587, allocations: 51.41 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.01601, allocations: 197.9 kB / 276.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.01602, allocations: 25.7 kB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.01607, allocations: 138.9 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.01609, allocations: 3.953 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.01613, allocations: 31.33 kB / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.01625, allocations: 0.4884 MB / 276.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.01626, allocations: 8 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-05/0.0163, allocations: 39 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.634e-05/0.01634, allocations: 39.05 kB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01634, allocations: 128 / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.737e-05/0.01644, allocations: 61.62 kB / 276.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.01646, allocations: 11.94 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01646, allocations: 0 / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.01648, allocations: 4.094 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.263e-05/0.01655, allocations: 11.94 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.01656, allocations: 4 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.86e-05/0.01659, allocations: 11.89 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.01659, allocations: 4 kB / 277 MB, free: 13.7 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 0.0001009/0.0167, allocations: 161.4 kB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/0.01677, allocations: 57.59 kB / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.01691, allocations: 74.39 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.01692, allocations: 0 / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.01692, allocations: 0 / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01693, allocations: 4 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.957e-05/0.01702, allocations: 132.6 kB / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.01702, allocations: 0 / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.01706, allocations: 4 kB / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01707, allocations: 0 / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.01708, allocations: 3.938 kB / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.01708, allocations: 0 / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.01708, allocations: 0 / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.01718, allocations: 108.3 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.01723, allocations: 19.89 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.01725, allocations: 11.92 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.01727, allocations: 4 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-06/0.01728, allocations: 0 / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.01729, allocations: 0 / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.534e-05/0.01735, allocations: 154 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01735, allocations: 0 / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002185/0.01757, allocations: 12 kB / 277.7 MB, free: 12.88 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.0001894/0.01776, allocations: 111.2 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.01788, allocations: 39.61 kB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01788, allocations: 4.188 kB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.01788, allocations: 0 / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.01825, allocations: 75.17 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.01857, allocations: 172.2 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.152e-05/0.01863, allocations: 67.34 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.7e-05/0.01867, allocations: 7.984 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.0187, allocations: 12.5 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of SimCode: time 2.354e-06/0.0187, allocations: 0 / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of Templates: time 0.006611/0.02531, allocations: 1.417 MB / 279.6 MB, free: 10.94 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.9617300829850137]