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.0009001/0.0009001, allocations: 80.8 kB / 21.5 MB, free: 2.984 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.0009706/0.0009706, allocations: 169.6 kB / 24.91 MB, free: 8.762 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.9693/0.9693, allocations: 177.1 MB / 205.3 MB, free: 5.457 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 2.014e-06/2.014e-06, allocations: 0 / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.762e-05, allocations: 2.312 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002346/0.002373, allocations: 0.9193 MB / 274.4 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006035/0.002977, allocations: 246.9 kB / 274.6 MB, free: 112 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.91e-05/0.003056, allocations: 7.938 kB / 274.6 MB, free: 104 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.004e-05/0.003106, allocations: 7.922 kB / 274.6 MB, free: 96 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.003248, allocations: 3.938 kB / 274.6 MB, free: 92 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.003703, allocations: 111.6 kB / 274.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.003831, allocations: 51.84 kB / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.873e-05/0.00391, allocations: 7.984 kB / 274.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.04e-05/0.00397, allocations: 23.97 kB / 274.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.739e-05/0.004038, allocations: 19.92 kB / 274.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.004056, allocations: 4 kB / 274.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.571e-05/0.004152, allocations: 35.97 kB / 274.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.004208, allocations: 27.91 kB / 274.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.004238, allocations: 15.92 kB / 274.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.004408, allocations: 83.64 kB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.00441, allocations: 4 kB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.004411, allocations: 4 kB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.004414, allocations: 0 / 275 MB, free: 15.71 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.0003935/0.004808, allocations: 280.6 kB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.004841, allocations: 12.03 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.004878, allocations: 12.92 kB / 275.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.005056, allocations: 144.8 kB / 275.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.005067, allocations: 4.312 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.005085, allocations: 8.375 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.005295, allocations: 123.2 kB / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.005303, allocations: 192 / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.00531, allocations: 384 / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.005317, allocations: 4.375 kB / 275.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.875e-05/0.005346, allocations: 18.69 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.005519, allocations: 152 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.68e-05/0.005595, allocations: 38.55 kB / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.005615, allocations: 8.859 kB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.005897, allocations: 60.05 kB / 275.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.005921, allocations: 30.56 kB / 275.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.005922, allocations: 0 / 275.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001299/0.006052, allocations: 57.62 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.0061, allocations: 63.36 kB / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.465e-05/0.006195, allocations: 130.7 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.006208, allocations: 29.64 kB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.006245, allocations: 92.11 kB / 276.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/0.006257, allocations: 7.891 kB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.006293, allocations: 17.72 kB / 276.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.8e-05/0.006381, allocations: 322.8 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.006398, allocations: 6.828 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.006424, allocations: 26.56 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.791e-05/0.006472, allocations: 45.81 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006474, allocations: 4 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9e-05/0.006564, allocations: 58.11 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.006577, allocations: 4 kB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.006582, allocations: 4 kB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.006598, allocations: 3.938 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.195e-05/0.00666, allocations: 11.98 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.006663, allocations: 0 / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.00669, allocations: 12.09 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.006695, allocations: 0 / 276.8 MB, free: 13.75 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.94e-05/0.006774, allocations: 117.5 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.006842, allocations: 45.62 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.006955, allocations: 62.45 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.00696, allocations: 7.938 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.006961, allocations: 0 / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.006964, allocations: 144 / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.459e-05/0.007049, allocations: 89.69 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.007054, allocations: 0 / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.007089, allocations: 8 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.007091, allocations: 0 / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.007098, allocations: 3.984 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.0071, allocations: 128 / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.007103, allocations: 4 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.151e-05/0.007154, allocations: 67.86 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.007198, allocations: 19.94 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.007217, allocations: 0 / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.051e-05/0.007237, allocations: 0 / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-06/0.00724, allocations: 0 / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.007253, allocations: 7.938 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.094e-05/0.007294, allocations: 39.91 kB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007294, allocations: 0 / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002132/0.007507, allocations: 16 kB / 277.2 MB, free: 13.21 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.0001456/0.007653, allocations: 92.34 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.384e-05/0.007737, allocations: 28.78 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.007741, allocations: 4 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-07/0.007742, allocations: 4 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.007987, allocations: 67.53 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.008275, allocations: 209.1 kB / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.569e-05/0.008321, allocations: 79.2 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.12e-05/0.008342, allocations: 4 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.008416, allocations: 55.38 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008416, allocations: 0 / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of Templates: time 0.002857/0.01127, allocations: 1.471 MB / 279.3 MB, free: 11.15 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.5403504627756774]