Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001937/0.001937, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002189/0.002189, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.572/1.572, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3305, allocations: 53.31 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003797/0.3343, allocations: 1.622 MB / 433.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3355, allocations: 0.5844 MB / 434.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.813e-05/0.3355, allocations: 0 / 434.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.577e-05/0.3356, allocations: 7.875 kB / 434.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.906e-05/0.3357, allocations: 7.875 kB / 434.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.336, allocations: 51.83 kB / 434.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.3361, allocations: 51.84 kB / 434.4 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.3362, allocations: 19.98 kB / 434.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.33e-05/0.3363, allocations: 23.92 kB / 434.4 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.3363, allocations: 27.8 kB / 434.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.3363, allocations: 8 kB / 434.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.3366, allocations: 51.89 kB / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.3366, allocations: 11.98 kB / 434.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.3366, allocations: 27.8 kB / 434.5 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.3368, allocations: 85.19 kB / 434.6 MB, free: 4.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3368, allocations: 0 / 434.6 MB, free: 4.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3368, allocations: 4 kB / 434.6 MB, free: 4.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3368, allocations: 0 / 434.6 MB, free: 4.812 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.000536/0.3374, allocations: 379.1 kB / 435 MB, free: 4.395 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3374, allocations: 8.031 kB / 435 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000458/0.3379, allocations: 52.83 kB / 435 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.338, allocations: 180.2 kB / 435.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.338, allocations: 4.375 kB / 435.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3381, allocations: 8.375 kB / 435.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.3383, allocations: 93.95 kB / 435.3 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3383, allocations: 0 / 435.3 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.3383, allocations: 4 kB / 435.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.3383, allocations: 4 kB / 435.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/0.3386, allocations: 63.94 kB / 435.4 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006091/0.3392, allocations: 356.5 kB / 435.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.3394, allocations: 70.47 kB / 435.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3395, allocations: 36.95 kB / 435.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3395, allocations: 0 / 435.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.3395, allocations: 38.56 kB / 435.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.3395, allocations: 0 / 435.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004241/0.34, allocations: 117.6 kB / 436 MB, free: 3.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.34, allocations: 51.41 kB / 436.1 MB, free: 3.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3401, allocations: 128.7 kB / 436.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.3402, allocations: 37.58 kB / 436.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3403, allocations: 100.1 kB / 436.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.3403, allocations: 19.84 kB / 436.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.3403, allocations: 17.7 kB / 436.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3405, allocations: 314.8 kB / 436.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.3406, allocations: 27.97 kB / 436.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.344e-05/0.3407, allocations: 28.36 kB / 436.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.3409, allocations: 68.81 kB / 436.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3409, allocations: 0 / 436.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002475/0.3411, allocations: 89.61 kB / 436.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3411, allocations: 4 kB / 436.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3412, allocations: 4 kB / 436.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3412, allocations: 0 / 436.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.3413, allocations: 23.91 kB / 436.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.3413, allocations: 7.938 kB / 436.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/0.3414, allocations: 11.98 kB / 436.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.3414, allocations: 0 / 436.9 MB, free: 2.285 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.0001104/0.3415, allocations: 113.8 kB / 437 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.3416, allocations: 7.953 kB / 437 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.3419, allocations: 113.6 kB / 437.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3419, allocations: 0 / 437.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.3419, allocations: 3.938 kB / 437.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3419, allocations: 3.984 kB / 437.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.3422, allocations: 193.6 kB / 437.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3422, allocations: 3.938 kB / 437.4 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.3423, allocations: 15.98 kB / 437.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3423, allocations: 0 / 437.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3423, allocations: 4 kB / 437.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3423, allocations: 4 kB / 437.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.3423, allocations: 7.938 kB / 437.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.3426, allocations: 195.6 kB / 437.6 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.3427, allocations: 85.06 kB / 437.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.3427, allocations: 0 / 437.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3428, allocations: 15.92 kB / 437.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.3428, allocations: 7.938 kB / 437.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.3428, allocations: 3.984 kB / 437.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.692e-05/0.3429, allocations: 103.2 kB / 437.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3429, allocations: 3.938 kB / 437.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.3431, allocations: 15.94 kB / 437.8 MB, free: 1.305 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.0001254/0.3433, allocations: 91.25 kB / 437.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002702/0.3435, allocations: 63.95 kB / 438 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3435, allocations: 0 / 438 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.3437, allocations: 39.91 kB / 438 MB, free: 1.102 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.344, allocations: 4 kB / 438 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.3444, allocations: 197.4 kB / 438.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.3448, allocations: 0.6963 MB / 438.9 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.271e-05/0.3449, allocations: 4 kB / 438.9 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.3449, allocations: 11.44 kB / 438.9 MB, free: 144 kB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3449, allocations: 0 / 438.9 MB, free: 144 kB / 334.1 MB Notification: Performance of Templates: time 0.003266/0.3482, allocations: 0.7356 MB / 439.6 MB, free: 15.41 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.650566701777279]