Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001643/0.001643, allocations: 88.59 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001926/0.001926, allocations: 162.8 kB / 23.95 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.23e-05, allocations: 2.281 kB / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002956/0.002988, allocations: 1.577 MB / 326.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.004233, allocations: 0.5443 MB / 327.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.004285, allocations: 7.938 kB / 327.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.00432, allocations: 4.734 kB / 327.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.589e-05/0.004406, allocations: 5.828 kB / 327.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.0047, allocations: 55.16 kB / 327.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.004829, allocations: 58.98 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.004961, allocations: 16.58 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.75e-05/0.005028, allocations: 27.89 kB / 327.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.234e-05/0.00509, allocations: 23.78 kB / 327.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.005111, allocations: 4.75 kB / 327.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.005358, allocations: 52.95 kB / 327.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.63e-05/0.005384, allocations: 15.42 kB / 327.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.005415, allocations: 16.23 kB / 327.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.005623, allocations: 93.25 kB / 327.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.005627, allocations: 0 / 327.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005628, allocations: 0 / 327.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.005633, allocations: 0 / 327.5 MB, free: 14.86 MB / 302.1 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.0005229/0.006156, allocations: 305.3 kB / 327.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.006205, allocations: 13.52 kB / 327.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004713/0.006676, allocations: 52.8 kB / 327.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.006812, allocations: 119.3 kB / 328 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.092e-05/0.006893, allocations: 7.625 kB / 328 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.006913, allocations: 4.875 kB / 328 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.007188, allocations: 85.61 kB / 328.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.0072, allocations: 192 / 328.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.007214, allocations: 5.406 kB / 328.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.007222, allocations: 14.31 kB / 328.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.007456, allocations: 71.17 kB / 328.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006798/0.008136, allocations: 282.9 kB / 328.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.008376, allocations: 67.53 kB / 328.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.008494, allocations: 38.59 kB / 328.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.008515, allocations: 1.156 kB / 328.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.008555, allocations: 36.89 kB / 328.6 MB, free: 14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.008556, allocations: 0 / 328.6 MB, free: 14 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004798/0.009036, allocations: 118 kB / 328.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.00909, allocations: 52.56 kB / 328.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.009208, allocations: 113.1 kB / 328.9 MB, free: 13.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.009231, allocations: 29.7 kB / 328.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.009306, allocations: 106.9 kB / 329 MB, free: 13.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.009338, allocations: 14.66 kB / 329 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.009384, allocations: 19.78 kB / 329 MB, free: 13.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.009558, allocations: 322.7 kB / 329.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.009671, allocations: 26 kB / 329.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.865e-05/0.009769, allocations: 29.77 kB / 329.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.009972, allocations: 60.62 kB / 329.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.009974, allocations: 1.375 kB / 329.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002548/0.01023, allocations: 91.97 kB / 329.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.01025, allocations: 7.203 kB / 329.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.01025, allocations: 0 / 329.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.01027, allocations: 0.7031 kB / 329.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.01041, allocations: 17.58 kB / 329.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.01041, allocations: 1.703 kB / 329.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.215e-05/0.0105, allocations: 13.92 kB / 329.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.01051, allocations: 6.578 kB / 329.6 MB, free: 13.2 MB / 302.1 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 0.0001224/0.01063, allocations: 117.8 kB / 329.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.01066, allocations: 7.375 kB / 329.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.011, allocations: 107.8 kB / 329.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.011, allocations: 5.156 kB / 329.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.01101, allocations: 9.125 kB / 329.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01102, allocations: 0.75 kB / 329.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.0112, allocations: 131.2 kB / 330 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.0112, allocations: 0 / 330 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.01132, allocations: 18.62 kB / 330 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01132, allocations: 1.438 kB / 330 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.01133, allocations: 0.7031 kB / 330 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.01133, allocations: 2.156 kB / 330 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.01133, allocations: 3.938 kB / 330 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.01173, allocations: 204.8 kB / 330.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-06/0.01174, allocations: 3.453 kB / 330.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.01176, allocations: 2.328 kB / 330.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.01186, allocations: 7.828 kB / 330.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.0119, allocations: 7.625 kB / 330.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.01191, allocations: 2.891 kB / 330.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.197e-05/0.01197, allocations: 91.53 kB / 330.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01197, allocations: 0 / 330.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.0122, allocations: 17.27 kB / 330.3 MB, free: 12.62 MB / 302.1 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 0.0001142/0.01231, allocations: 95.75 kB / 330.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.01259, allocations: 65.05 kB / 330.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.0126, allocations: 1.156 kB / 330.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.01271, allocations: 34.72 kB / 330.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.01303, allocations: 7.891 kB / 330.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004958/0.01352, allocations: 186.5 kB / 330.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.01362, allocations: 79.34 kB / 330.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.544e-05/0.01367, allocations: 5.141 kB / 330.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.01372, allocations: 15.66 kB / 330.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01372, allocations: 0 / 330.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of Templates: time 0.003576/0.01729, allocations: 0.7429 MB / 331.6 MB, free: 12 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.247130665928125]