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.0009886/0.0009886, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.000921/0.000921, allocations: 168.7 kB / 25.61 MB, free: 8.582 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.8776/0.8776, allocations: 177.1 MB / 206 MB, free: 4.477 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.313e-06/1.313e-06, allocations: 0 / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.445e-05, allocations: 3.844 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.005211/0.005226, allocations: 1.599 MB / 275.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007769/0.006002, allocations: 0.5547 MB / 276.3 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.717e-05/0.00605, allocations: 5.938 kB / 276.4 MB, free: 2.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.00608, allocations: 11.86 kB / 276.4 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.108e-05/0.006151, allocations: 7.875 kB / 276.4 MB, free: 2.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.006353, allocations: 52.36 kB / 276.4 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.457e-05/0.006428, allocations: 47.84 kB / 276.5 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.036e-05/0.006518, allocations: 17.05 kB / 276.5 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.228e-05/0.006571, allocations: 31.91 kB / 276.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.678e-05/0.006617, allocations: 21.25 kB / 276.5 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.006633, allocations: 7.938 kB / 276.5 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.006802, allocations: 47.95 kB / 276.6 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.006819, allocations: 15.94 kB / 276.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.006839, allocations: 19.97 kB / 276.6 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.006967, allocations: 75.67 kB / 276.7 MB, free: 1.902 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.006969, allocations: 0 / 276.7 MB, free: 1.902 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.1e-07/0.00697, allocations: 0 / 276.7 MB, free: 1.902 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.267e-06/0.006973, allocations: 0 / 276.7 MB, free: 1.902 MB / 250.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.0003288/0.007302, allocations: 412.2 kB / 277.1 MB, free: 1.465 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.007332, allocations: 8.031 kB / 277.1 MB, free: 1.457 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003577/0.01091, allocations: 60.8 kB / 277.2 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.583e-05/0.011, allocations: 120.5 kB / 277.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.01101, allocations: 8.375 kB / 277.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.01102, allocations: 4.375 kB / 277.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.01116, allocations: 86.89 kB / 277.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.01117, allocations: 192 / 277.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.01118, allocations: 384 / 277.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.01118, allocations: 3.938 kB / 277.4 MB, free: 1.145 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.695e-05/0.01123, allocations: 31.67 kB / 277.4 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.01159, allocations: 308.2 kB / 277.7 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.612e-05/0.01168, allocations: 54.95 kB / 277.8 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.0117, allocations: 15.81 kB / 277.8 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.01171, allocations: 0 / 277.8 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.01173, allocations: 37.39 kB / 277.8 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.01173, allocations: 0 / 277.8 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001559/0.01189, allocations: 65.56 kB / 277.9 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.01192, allocations: 51.41 kB / 277.9 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.459e-05/0.01199, allocations: 169.9 kB / 278.1 MB, free: 348 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.012, allocations: 37.64 kB / 278.1 MB, free: 304 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.01205, allocations: 150.7 kB / 278.3 MB, free: 148 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.01207, allocations: 11.91 kB / 278.3 MB, free: 136 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.01211, allocations: 23.36 kB / 278.3 MB, free: 104 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.01223, allocations: 0.4884 MB / 278.8 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.01226, allocations: 7.984 kB / 278.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.01227, allocations: 4 kB / 278.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.281e-05/0.01232, allocations: 19.62 kB / 278.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.01232, allocations: 0 / 278.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.878e-05/0.01241, allocations: 65.58 kB / 278.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.01242, allocations: 11.98 kB / 278.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.01243, allocations: 448 / 278.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/0.01243, allocations: 0 / 278.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.911e-05/0.01251, allocations: 15.98 kB / 278.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.01251, allocations: 0 / 278.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.01255, allocations: 15.94 kB / 279 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.01256, allocations: 0 / 279 MB, free: 15.45 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.93e-05/0.01263, allocations: 164.5 kB / 279.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.01265, allocations: 7.953 kB / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.01277, allocations: 73.73 kB / 279.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01277, allocations: 0 / 279.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.01278, allocations: 0 / 279.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.01278, allocations: 0 / 279.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.01291, allocations: 117.2 kB / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01291, allocations: 3.984 kB / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.01297, allocations: 15.94 kB / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01297, allocations: 7.984 kB / 279.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.01298, allocations: 0 / 279.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.01298, allocations: 0 / 279.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01298, allocations: 4 kB / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.0131, allocations: 203.9 kB / 279.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.01311, allocations: 11.83 kB / 279.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.01312, allocations: 4 kB / 279.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.465e-05/0.01319, allocations: 11.98 kB / 279.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.0132, allocations: 0 / 279.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.01321, allocations: 3.984 kB / 279.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.053e-05/0.01325, allocations: 131.1 kB / 279.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01325, allocations: 0 / 279.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002117/0.01346, allocations: 16 kB / 279.7 MB, free: 14.63 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.234e-05/0.01353, allocations: 99.17 kB / 279.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.539e-05/0.01362, allocations: 31.66 kB / 279.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-06/0.01362, allocations: 0 / 279.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.145e-05/0.01365, allocations: 31.86 kB / 279.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.01387, allocations: 8.125 kB / 279.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002423/0.01411, allocations: 169.8 kB / 280 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.575e-05/0.01415, allocations: 59.34 kB / 280.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.894e-05/0.01419, allocations: 15.89 kB / 280.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.01425, allocations: 82.19 kB / 280.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01425, allocations: 0 / 280.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of Templates: time 0.005485/0.01974, allocations: 0.8054 MB / 281 MB, free: 13.28 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: 2.5128825181163847]