Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 250.8 MB, free: 13.42 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 51.86 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3225, allocations: 52.15 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003486/0.326, allocations: 1.603 MB / 422.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3271, allocations: 0.528 MB / 423 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.3271, allocations: 4 kB / 423 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.789e-05/0.3272, allocations: 11.86 kB / 423 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.3273, allocations: 11.88 kB / 423 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.3276, allocations: 43.89 kB / 423.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.3277, allocations: 51.78 kB / 423.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.3279, allocations: 15.98 kB / 423.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.307e-05/0.3279, allocations: 23.94 kB / 423.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.126e-05/0.328, allocations: 35.77 kB / 423.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.328, allocations: 4 kB / 423.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.3282, allocations: 35.97 kB / 423.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.3283, allocations: 19.88 kB / 423.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.888e-05/0.3283, allocations: 27.8 kB / 423.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.3285, allocations: 89.23 kB / 423.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3285, allocations: 0 / 423.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3285, allocations: 0 / 423.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.3285, allocations: 3.938 kB / 423.4 MB, free: 12.63 MB / 334.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.0006863/0.3292, allocations: 382.8 kB / 423.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3293, allocations: 8.031 kB / 423.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/0.3297, allocations: 48.83 kB / 423.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.3299, allocations: 172.3 kB / 424 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.998e-05/0.3299, allocations: 12.31 kB / 424 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.3299, allocations: 7.938 kB / 424 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.3302, allocations: 89.64 kB / 424.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3302, allocations: 0 / 424.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.3302, allocations: 0 / 424.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3302, allocations: 0 / 424.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.3305, allocations: 67.95 kB / 424.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007276/0.3312, allocations: 348.6 kB / 424.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.3314, allocations: 66.55 kB / 424.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.3315, allocations: 28.95 kB / 424.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.3315, allocations: 4 kB / 424.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.3316, allocations: 38.5 kB / 424.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3316, allocations: 4 kB / 424.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004473/0.332, allocations: 121.5 kB / 424.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.3321, allocations: 51.41 kB / 424.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.3322, allocations: 118.1 kB / 424.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3322, allocations: 29.7 kB / 424.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.721e-05/0.3323, allocations: 100 kB / 425 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.3324, allocations: 23.84 kB / 425.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.3324, allocations: 21.7 kB / 425.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3326, allocations: 318.8 kB / 425.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.3327, allocations: 27.97 kB / 425.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.177e-05/0.3328, allocations: 23.98 kB / 425.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.3329, allocations: 73.12 kB / 425.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3329, allocations: 0 / 425.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002296/0.3332, allocations: 89.59 kB / 425.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3332, allocations: 4 kB / 425.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3332, allocations: 4 kB / 425.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/0.3332, allocations: 7.922 kB / 425.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.3334, allocations: 23.92 kB / 425.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.3334, allocations: 0 / 425.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.682e-05/0.3335, allocations: 23.88 kB / 425.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.3335, allocations: 0 / 425.7 MB, free: 10.12 MB / 334.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.0001178/0.3336, allocations: 121.7 kB / 425.8 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.3336, allocations: 4 kB / 425.8 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.334, allocations: 109.5 kB / 425.9 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.334, allocations: 8 kB / 425.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.334, allocations: 0 / 425.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.334, allocations: 0 / 425.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.3342, allocations: 189.6 kB / 426.1 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3342, allocations: 0 / 426.1 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.3343, allocations: 19.98 kB / 426.1 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3343, allocations: 0 / 426.1 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.3343, allocations: 3.938 kB / 426.1 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3343, allocations: 0 / 426.1 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3343, allocations: 3.938 kB / 426.1 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.3347, allocations: 203.4 kB / 426.3 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.3347, allocations: 81.11 kB / 426.4 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3347, allocations: 4.125 kB / 426.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.3348, allocations: 15.98 kB / 426.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.3349, allocations: 0 / 426.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.3349, allocations: 8 kB / 426.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.833e-05/0.335, allocations: 99.27 kB / 426.5 MB, free: 9.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.335, allocations: 0 / 426.5 MB, free: 9.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.3352, allocations: 11.95 kB / 426.5 MB, free: 9.148 MB / 334.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.0001481/0.3354, allocations: 96.03 kB / 426.6 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.3356, allocations: 63.89 kB / 426.7 MB, free: 8.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3356, allocations: 8 kB / 426.7 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.3357, allocations: 35.97 kB / 426.7 MB, free: 8.941 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.3361, allocations: 3.438 kB / 426.7 MB, free: 8.941 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/0.3367, allocations: 205.3 kB / 426.9 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.3371, allocations: 0.7001 MB / 427.6 MB, free: 7.988 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.691e-05/0.3372, allocations: 4 kB / 427.6 MB, free: 7.984 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.3372, allocations: 11.44 kB / 427.6 MB, free: 7.973 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3372, allocations: 0 / 427.6 MB, free: 7.973 MB / 334.1 MB Notification: Performance of Templates: time 0.004137/0.3414, allocations: 0.7995 MB / 428.4 MB, free: 7.176 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.526057510636747]