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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001556/0.001556, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001573/0.001573, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.503/1.503, allocations: 230.4 MB / 251.1 MB, free: 8.48 MB / 206.1 MB 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.002243/0.002243, allocations: 75.8 kB / 369 MB, free: 6.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.333, allocations: 53.32 MB / 422.3 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003021/0.336, allocations: 1.595 MB / 423.9 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3372, allocations: 0.5726 MB / 424.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.3372, allocations: 0 / 424.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.3373, allocations: 11.81 kB / 424.5 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.679e-05/0.3374, allocations: 15.94 kB / 424.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.3376, allocations: 51.75 kB / 424.5 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.3377, allocations: 47.91 kB / 424.6 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3379, allocations: 16 kB / 424.6 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.296e-05/0.3379, allocations: 27.84 kB / 424.6 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.338, allocations: 27.86 kB / 424.6 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.338, allocations: 4 kB / 424.6 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.3383, allocations: 51.89 kB / 424.7 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.3383, allocations: 15.92 kB / 424.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.3383, allocations: 31.8 kB / 424.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.3385, allocations: 83.08 kB / 424.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3385, allocations: 0 / 424.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3385, allocations: 0 / 424.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3386, allocations: 0 / 424.8 MB, free: 5.27 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.0005587/0.3391, allocations: 375.2 kB / 425.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3392, allocations: 8.031 kB / 425.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004553/0.3396, allocations: 56.83 kB / 425.3 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.3397, allocations: 176.2 kB / 425.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.3398, allocations: 4.375 kB / 425.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.3398, allocations: 4.375 kB / 425.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.34, allocations: 101.9 kB / 425.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.34, allocations: 0 / 425.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3401, allocations: 0 / 425.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.3401, allocations: 0 / 425.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.3403, allocations: 71.94 kB / 425.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006502/0.3409, allocations: 356.5 kB / 426 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.3411, allocations: 82.45 kB / 426 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.3412, allocations: 32.95 kB / 426.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.3413, allocations: 0 / 426.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.3413, allocations: 38.56 kB / 426.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.3413, allocations: 0 / 426.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004082/0.3417, allocations: 121.6 kB / 426.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.3418, allocations: 55.41 kB / 426.3 MB, free: 3.637 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.3419, allocations: 122 kB / 426.4 MB, free: 3.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3419, allocations: 25.7 kB / 426.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.342, allocations: 100.1 kB / 426.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.3421, allocations: 11.84 kB / 426.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.3421, allocations: 21.7 kB / 426.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3423, allocations: 326.8 kB / 426.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.63e-05/0.3424, allocations: 27.91 kB / 426.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.359e-05/0.3425, allocations: 23.98 kB / 426.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.3426, allocations: 60.81 kB / 427 MB, free: 2.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3426, allocations: 0 / 427 MB, free: 2.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002294/0.3429, allocations: 97.61 kB / 427.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3429, allocations: 7.984 kB / 427.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3429, allocations: 0 / 427.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3429, allocations: 0 / 427.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.3431, allocations: 23.92 kB / 427.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.3431, allocations: 7.938 kB / 427.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.766e-05/0.3431, allocations: 7.984 kB / 427.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3432, allocations: 4 kB / 427.1 MB, free: 2.738 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.0001088/0.3433, allocations: 117.8 kB / 427.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.3433, allocations: 3.953 kB / 427.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.3436, allocations: 105.6 kB / 427.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3436, allocations: 0 / 427.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3436, allocations: 4.438 kB / 427.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3436, allocations: 7.938 kB / 427.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.3439, allocations: 197.6 kB / 427.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3439, allocations: 4 kB / 427.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.344, allocations: 19.92 kB / 427.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.344, allocations: 4 kB / 427.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.344, allocations: 0 / 427.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.344, allocations: 3.984 kB / 427.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.344, allocations: 3.938 kB / 427.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.3443, allocations: 199.5 kB / 427.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.3443, allocations: 81.06 kB / 427.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.3444, allocations: 4 kB / 427.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.3445, allocations: 11.98 kB / 427.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.3445, allocations: 7.922 kB / 427.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.3445, allocations: 4 kB / 427.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.175e-05/0.3446, allocations: 98.14 kB / 428 MB, free: 1.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3446, allocations: 0 / 428 MB, free: 1.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.3448, allocations: 19.94 kB / 428 MB, free: 1.758 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.000127/0.3449, allocations: 95.19 kB / 428.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.3452, allocations: 59.95 kB / 428.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3452, allocations: 4 kB / 428.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.676e-05/0.3453, allocations: 35.91 kB / 428.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.3456, allocations: 8 kB / 428.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.3461, allocations: 193.4 kB / 428.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.3464, allocations: 0.6924 MB / 429.1 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.821e-05/0.3465, allocations: 8 kB / 429.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.3465, allocations: 7.438 kB / 429.1 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3465, allocations: 0 / 429.1 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of Templates: time 0.003297/0.3498, allocations: 0.7328 MB / 429.8 MB, free: 15.88 MB / 350.1 MB 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 -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/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_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches