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.001519/0.001519, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001712/0.001712, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.021/1.021, allocations: 177.1 MB / 205 MB, free: 5.246 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 MB, free: 1.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.826e-05, allocations: 2.312 kB / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001834/0.001862, allocations: 0.9118 MB / 273.9 MB, free: 492 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004656/0.002327, allocations: 255 kB / 274.2 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.002403, allocations: 0 / 274.2 MB, free: 236 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.615e-05/0.002449, allocations: 3.938 kB / 274.2 MB, free: 232 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.002607, allocations: 15.86 kB / 274.2 MB, free: 216 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.002989, allocations: 99.7 kB / 274.3 MB, free: 116 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.003106, allocations: 43.86 kB / 274.3 MB, free: 72 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.542e-05/0.003192, allocations: 19.91 kB / 274.3 MB, free: 52 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.651e-05/0.003238, allocations: 23.92 kB / 274.4 MB, free: 28 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.974e-05/0.003298, allocations: 15.92 kB / 274.4 MB, free: 12 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.003316, allocations: 4 kB / 274.4 MB, free: 8 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.292e-05/0.003408, allocations: 47.88 kB / 274.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.003465, allocations: 19.94 kB / 274.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.003494, allocations: 19.92 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.003651, allocations: 75.77 kB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003653, allocations: 0 / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.003654, allocations: 4 kB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.003658, allocations: 0 / 274.5 MB, free: 15.84 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.0004166/0.004075, allocations: 420.2 kB / 274.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.00411, allocations: 8.031 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.00415, allocations: 12.89 kB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.004307, allocations: 140.4 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.004316, allocations: 8.375 kB / 275.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.004326, allocations: 384 / 275.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.004537, allocations: 144.8 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.004544, allocations: 192 / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.004553, allocations: 384 / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.00456, allocations: 384 / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.426e-05/0.004584, allocations: 15.88 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.004815, allocations: 279.4 kB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.164e-05/0.004887, allocations: 39.06 kB / 275.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.004915, allocations: 19.8 kB / 275.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/0.005168, allocations: 63.92 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.005187, allocations: 37.33 kB / 275.7 MB, free: 14.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.005188, allocations: 0 / 275.7 MB, free: 14.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001395/0.005327, allocations: 69.58 kB / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.005365, allocations: 55.41 kB / 275.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.00546, allocations: 197.9 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.005471, allocations: 29.69 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.005519, allocations: 134.9 kB / 276.2 MB, free: 14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.062e-05/0.005529, allocations: 3.953 kB / 276.2 MB, free: 14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.005561, allocations: 31.33 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.00568, allocations: 0.4884 MB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.005692, allocations: 4 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.751e-05/0.00572, allocations: 43.05 kB / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.329e-05/0.005763, allocations: 43 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.005766, allocations: 0 / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.472e-05/0.00583, allocations: 61.62 kB / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.005843, allocations: 7.938 kB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.005847, allocations: 0 / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.005858, allocations: 0 / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.489e-05/0.005913, allocations: 12 kB / 276.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.00592, allocations: 7.938 kB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.005937, allocations: 3.953 kB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.005949, allocations: 4 kB / 276.9 MB, free: 13.25 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.87e-05/0.006028, allocations: 168.6 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.479e-05/0.006083, allocations: 61.58 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.0062, allocations: 70.41 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.006202, allocations: 0 / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.006209, allocations: 3.984 kB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.006212, allocations: 0 / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.364e-05/0.006286, allocations: 128.6 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.00629, allocations: 0 / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/0.006318, allocations: 4 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.006319, allocations: 0 / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.006329, allocations: 15.92 kB / 277.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.00633, allocations: 0 / 277.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.00633, allocations: 0 / 277.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.111e-05/0.006412, allocations: 96.38 kB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.006444, allocations: 23.88 kB / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.006469, allocations: 8.125 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.00648, allocations: 0 / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-06/0.006484, allocations: 7.922 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.006494, allocations: 0 / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.351e-05/0.006557, allocations: 161.8 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006557, allocations: 0 / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001391/0.006697, allocations: 16 kB / 277.6 MB, free: 12.41 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.0001224/0.006819, allocations: 107.2 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.979e-05/0.006909, allocations: 31.8 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.00691, allocations: 0 / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.006912, allocations: 4 kB / 277.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.007161, allocations: 72.77 kB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.007386, allocations: 172.1 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.584e-05/0.007421, allocations: 75.33 kB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.319e-05/0.007435, allocations: 4 kB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.007454, allocations: 12.5 kB / 278.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007454, allocations: 0 / 278.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of Templates: time 0.002967/0.01042, allocations: 1.414 MB / 279.5 MB, free: 10.48 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: 3.1371863610111177]