Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001909/0.001909, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003033/0.003033, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.619/1.619, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.242e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002436/0.002468, allocations: 0.8916 MB / 273.1 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006735/0.003142, allocations: 243 kB / 273.3 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.003211, allocations: 7.938 kB / 273.3 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.767e-05/0.003269, allocations: 7.938 kB / 273.4 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.003424, allocations: 3.938 kB / 273.4 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.003867, allocations: 103.6 kB / 273.5 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.004, allocations: 51.84 kB / 273.5 MB, free: 500 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.225e-05/0.004082, allocations: 7.984 kB / 273.5 MB, free: 492 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.459e-05/0.004147, allocations: 27.91 kB / 273.5 MB, free: 464 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.004217, allocations: 15.92 kB / 273.6 MB, free: 448 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.004241, allocations: 8 kB / 273.6 MB, free: 440 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.00438, allocations: 39.91 kB / 273.6 MB, free: 400 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.888e-05/0.004459, allocations: 23.92 kB / 273.6 MB, free: 376 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.004506, allocations: 23.91 kB / 273.7 MB, free: 352 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.004728, allocations: 91.73 kB / 273.7 MB, free: 260 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.004731, allocations: 0 / 273.7 MB, free: 260 kB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004732, allocations: 0 / 273.7 MB, free: 260 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.004737, allocations: 0 / 273.7 MB, free: 260 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.0006523/0.005389, allocations: 423.8 kB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.005429, allocations: 15.98 kB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.005485, allocations: 20.88 kB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.005722, allocations: 144.4 kB / 274.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.005732, allocations: 384 / 274.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.005744, allocations: 4.375 kB / 274.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.006079, allocations: 156.7 kB / 274.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.006089, allocations: 192 / 274.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.006098, allocations: 4.312 kB / 274.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.006103, allocations: 4.375 kB / 274.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.137e-05/0.006155, allocations: 23.88 kB / 274.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.006528, allocations: 267.5 kB / 274.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.006648, allocations: 47.05 kB / 274.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.316e-05/0.006691, allocations: 19.69 kB / 274.8 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004405/0.007132, allocations: 63.97 kB / 274.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.007175, allocations: 45.27 kB / 275 MB, free: 14.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.007177, allocations: 0 / 275 MB, free: 14.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002305/0.007407, allocations: 73.59 kB / 275 MB, free: 14.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.007472, allocations: 55.41 kB / 275.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.007667, allocations: 205.2 kB / 275.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.007689, allocations: 29.7 kB / 275.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.008025, allocations: 138.9 kB / 275.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.008039, allocations: 3.953 kB / 275.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.008091, allocations: 31.38 kB / 275.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002796/0.008371, allocations: 0.4962 MB / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.008389, allocations: 4 kB / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.025e-05/0.008439, allocations: 42.98 kB / 276 MB, free: 13.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.852e-05/0.008497, allocations: 39.06 kB / 276.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.008499, allocations: 0 / 276.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000112/0.008611, allocations: 61.58 kB / 276.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.008631, allocations: 11.94 kB / 276.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.008635, allocations: 4.094 kB / 276.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.008649, allocations: 3.938 kB / 276.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/0.00872, allocations: 11.94 kB / 276.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.008728, allocations: 4 kB / 276.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/0.008753, allocations: 4 kB / 276.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.008759, allocations: 0 / 276.2 MB, free: 13.59 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.0001477/0.008907, allocations: 168.6 kB / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.009025, allocations: 69.61 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.009215, allocations: 82.61 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.009218, allocations: 4 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.009221, allocations: 0 / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.009224, allocations: 0 / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.009365, allocations: 136.6 kB / 276.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.00937, allocations: 0 / 276.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.009409, allocations: 8 kB / 276.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.009411, allocations: 0 / 276.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.009423, allocations: 3.938 kB / 276.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.009425, allocations: 0 / 276.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.009426, allocations: 144 / 276.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.009592, allocations: 112.3 kB / 276.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.00964, allocations: 15.95 kB / 276.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.00968, allocations: 15.86 kB / 276.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.407e-05/0.009704, allocations: 0 / 276.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-06/0.009706, allocations: 0 / 276.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.00972, allocations: 4 kB / 276.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.009847, allocations: 147.2 kB / 276.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009847, allocations: 0 / 276.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.01009, allocations: 19.94 kB / 276.9 MB, free: 12.73 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.0001964/0.01028, allocations: 107.2 kB / 277 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.01042, allocations: 39.73 kB / 277.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01042, allocations: 0 / 277.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.01042, allocations: 0 / 277.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.01084, allocations: 79.56 kB / 277.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.01124, allocations: 183.7 kB / 277.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.01135, allocations: 87.31 kB / 277.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.684e-05/0.01136, allocations: 0 / 277.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.0114, allocations: 12.69 kB / 277.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0114, allocations: 4 kB / 277.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of Templates: time 0.004989/0.01639, allocations: 1.41 MB / 278.8 MB, free: 10.76 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.495906732045114]