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.0009312/0.0009312, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001063/0.001063, allocations: 173.9 kB / 24.92 MB, free: 9.18 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 0.9686/0.9686, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.663e-06/1.663e-06, allocations: 0 / 273.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.261e-05, allocations: 2.312 kB / 273.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.0021/0.002123, allocations: 0.9632 MB / 274.5 MB, free: 268 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004646/0.002587, allocations: 246.9 kB / 274.7 MB, free: 20 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.361e-05/0.002661, allocations: 0 / 274.7 MB, free: 20 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.467e-05/0.002706, allocations: 7.922 kB / 274.7 MB, free: 12 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.002858, allocations: 11.88 kB / 274.7 MB, free: 0 / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.003203, allocations: 107.6 kB / 274.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.003323, allocations: 47.84 kB / 274.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.476e-05/0.003408, allocations: 11.98 kB / 274.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.068e-05/0.003468, allocations: 27.91 kB / 274.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.608e-05/0.003534, allocations: 7.984 kB / 274.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.003554, allocations: 4 kB / 274.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.003662, allocations: 47.95 kB / 275 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.352e-05/0.003715, allocations: 19.92 kB / 275 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.00375, allocations: 23.92 kB / 275 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.003896, allocations: 75.72 kB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.0039, allocations: 7.984 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.003901, allocations: 3.938 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.003905, allocations: 0 / 275.1 MB, free: 15.62 MB / 266.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.0003299/0.004235, allocations: 280.5 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.004268, allocations: 12.03 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.004299, allocations: 12.86 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.004451, allocations: 141.6 kB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-06/0.004458, allocations: 4.375 kB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.004466, allocations: 4.375 kB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.004636, allocations: 127.1 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.004643, allocations: 192 / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.00465, allocations: 384 / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.004655, allocations: 4.375 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.829e-05/0.004673, allocations: 14.7 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.004842, allocations: 156 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.568e-05/0.004898, allocations: 34.58 kB / 275.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.428e-05/0.004912, allocations: 8.859 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002427/0.005155, allocations: 59.98 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.005179, allocations: 38.5 kB / 276 MB, free: 14.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.00518, allocations: 0 / 276 MB, free: 14.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001184/0.005299, allocations: 57.56 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.00534, allocations: 59.36 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.005421, allocations: 141.6 kB / 276.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.005432, allocations: 25.7 kB / 276.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.005468, allocations: 88.12 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.001e-05/0.005478, allocations: 3.953 kB / 276.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.005504, allocations: 21.7 kB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.005587, allocations: 322.8 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.005601, allocations: 6.828 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.735e-05/0.005618, allocations: 26.52 kB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/0.005661, allocations: 45.88 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005663, allocations: 0 / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.796e-05/0.005731, allocations: 58.11 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.005746, allocations: 4 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.005752, allocations: 4 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.005766, allocations: 7.875 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.189e-05/0.005818, allocations: 12.09 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.005823, allocations: 3.984 kB / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.614e-05/0.005839, allocations: 4 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.005845, allocations: 0 / 276.9 MB, free: 13.67 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 7.104e-05/0.005916, allocations: 125.4 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.005955, allocations: 45.62 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.204e-05/0.006048, allocations: 66.44 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.006051, allocations: 3.938 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.006052, allocations: 0 / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.006054, allocations: 0 / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.688e-05/0.006111, allocations: 85.77 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.006115, allocations: 128 / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.006148, allocations: 12 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006149, allocations: 144 / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.006154, allocations: 4 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.006156, allocations: 3.984 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.006158, allocations: 3.984 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.301e-05/0.006201, allocations: 63.86 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.006244, allocations: 15.94 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.006261, allocations: 4 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.057e-05/0.006271, allocations: 8 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-06/0.006275, allocations: 0 / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.006284, allocations: 3.938 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.486e-05/0.006309, allocations: 24.83 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006309, allocations: 0 / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000118/0.006427, allocations: 23.98 kB / 277.3 MB, free: 13.12 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.0001221/0.006549, allocations: 88.41 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.635e-05/0.006626, allocations: 24.8 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.006629, allocations: 4 kB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.00663, allocations: 4.188 kB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.006838, allocations: 74.03 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002238/0.007062, allocations: 209.1 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.46e-05/0.007096, allocations: 67.28 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.681e-05/0.007113, allocations: 7.984 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.00717, allocations: 59.38 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.007171, allocations: 0 / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of Templates: time 0.003169/0.01034, allocations: 1.494 MB / 279.4 MB, free: 11.05 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 -s gbode -gbm=radauIIA3 -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.6161018880084157]