Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.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.001001/0.001001, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0015/0.0015, 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.047/1.047, allocations: 177.1 MB / 205 MB, free: 5.629 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.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities") translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.725e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002287/0.002314, allocations: 1.625 MB / 274.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008758/0.00319, allocations: 0.5609 MB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.003245, allocations: 0 / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/0.003282, allocations: 7.938 kB / 275.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.378e-05/0.003365, allocations: 11.86 kB / 275.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.003717, allocations: 55.7 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.003819, allocations: 51.84 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.00396, allocations: 15.98 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.655e-05/0.004027, allocations: 31.91 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.856e-05/0.004095, allocations: 15.92 kB / 275.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.004122, allocations: 4 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.004416, allocations: 55.88 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.004437, allocations: 15.94 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.004469, allocations: 11.98 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.004648, allocations: 83.66 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.004651, allocations: 0 / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004652, allocations: 0 / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.004657, allocations: 0 / 275.5 MB, free: 14.98 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005336/0.005191, allocations: 408.3 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.00525, allocations: 8.031 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000343/0.005593, allocations: 52.8 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.005712, allocations: 124.5 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.005737, allocations: 8.375 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.005756, allocations: 4.375 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.00593, allocations: 86.91 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.005939, allocations: 192 / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.005953, allocations: 4.375 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.005964, allocations: 7.938 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.182e-05/0.006026, allocations: 23.98 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.006513, allocations: 331.5 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.006616, allocations: 58.97 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.006654, allocations: 15.69 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.006674, allocations: 0 / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.006704, allocations: 45.5 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.006706, allocations: 0 / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002022/0.006908, allocations: 61.64 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.006941, allocations: 55.41 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.007037, allocations: 185.8 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.007051, allocations: 25.7 kB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.007107, allocations: 146.8 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.007132, allocations: 15.89 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.007165, allocations: 23.38 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.00729, allocations: 0.4922 MB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.305e-05/0.007313, allocations: 4 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/0.007332, allocations: 8 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.789e-05/0.00738, allocations: 27.67 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.007382, allocations: 0 / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.106e-05/0.007463, allocations: 57.64 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.007475, allocations: 4 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.007481, allocations: 4 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.007494, allocations: 3.938 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.25e-05/0.007577, allocations: 19.98 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.007582, allocations: 0 / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.007613, allocations: 15.92 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.007619, allocations: 0 / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.863e-05/0.007688, allocations: 156.5 kB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.007706, allocations: 7.953 kB / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.00785, allocations: 77.78 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.007852, allocations: 0 / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.007856, allocations: 0 / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.00786, allocations: 4 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.007973, allocations: 132.6 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.007976, allocations: 8.422 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.00802, allocations: 16 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.008023, allocations: 3.984 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.008033, allocations: 4 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.008033, allocations: 4 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.008034, allocations: 0 / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.008161, allocations: 215.8 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-06/0.008168, allocations: 3.953 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.008179, allocations: 0 / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.204e-05/0.008221, allocations: 11.98 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.008245, allocations: 7.984 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.008248, allocations: 3.938 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.296e-05/0.008291, allocations: 131.6 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008291, allocations: 0 / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001426/0.008434, allocations: 16 kB / 278.6 MB, free: 11.62 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 7.784e-05/0.008512, allocations: 103.2 kB / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.008632, allocations: 31.67 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.008633, allocations: 0 / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.381e-05/0.008667, allocations: 27.61 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.008879, allocations: 15.5 kB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.009223, allocations: 169.9 kB / 278.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.325e-05/0.009267, allocations: 59.34 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.848e-05/0.009295, allocations: 8 kB / 279 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.009333, allocations: 16.48 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of SimCode: time 5.92e-07/0.009334, allocations: 0 / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of Templates: time 0.002454/0.01179, allocations: 0.7439 MB / 279.8 MB, free: 10.41 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.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.003634800668806]