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.002354/0.002354, allocations: 111.1 kB / 20.44 MB, free: 1.051 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.002496/0.002496, allocations: 211.7 kB / 23.73 MB, free: 4.152 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.609/1.609, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.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 0.002545/0.002545, allocations: 67.89 kB / 378.2 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3736, allocations: 53.41 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003187/0.3768, allocations: 1.578 MB / 433.2 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.3779, allocations: 0.5338 MB / 433.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/0.378, allocations: 0 / 433.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.327e-05/0.378, allocations: 11.86 kB / 433.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.216e-05/0.3781, allocations: 11.88 kB / 433.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.3784, allocations: 55.83 kB / 433.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.802e-05/0.3785, allocations: 47.84 kB / 433.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.3787, allocations: 19.98 kB / 433.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.088e-05/0.3787, allocations: 23.86 kB / 433.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.3788, allocations: 27.84 kB / 433.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.3788, allocations: 4 kB / 433.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.379, allocations: 51.91 kB / 434 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.3791, allocations: 11.92 kB / 434 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.3791, allocations: 27.86 kB / 434 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.3793, allocations: 87.16 kB / 434.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3793, allocations: 0 / 434.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3793, allocations: 3.938 kB / 434.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.3793, allocations: 0 / 434.1 MB, free: 4.027 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.0005322/0.3798, allocations: 304.7 kB / 434.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.3799, allocations: 15.98 kB / 434.4 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004419/0.3803, allocations: 48.84 kB / 434.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.3804, allocations: 122.4 kB / 434.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.3805, allocations: 8.375 kB / 434.6 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.3805, allocations: 4.375 kB / 434.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.3807, allocations: 93.95 kB / 434.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3808, allocations: 0 / 434.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.3808, allocations: 0 / 434.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.026e-06/0.3808, allocations: 4 kB / 434.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.381, allocations: 71.89 kB / 434.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006074/0.3816, allocations: 288.2 kB / 435.1 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.3818, allocations: 66.47 kB / 435.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.3819, allocations: 36.95 kB / 435.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.3819, allocations: 0 / 435.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.382, allocations: 34.56 kB / 435.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.382, allocations: 4 kB / 435.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004555/0.3824, allocations: 121.6 kB / 435.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.3825, allocations: 51.41 kB / 435.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.3826, allocations: 113.8 kB / 435.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3826, allocations: 29.7 kB / 435.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.3827, allocations: 100 kB / 435.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.3827, allocations: 11.84 kB / 435.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.3828, allocations: 25.7 kB / 435.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3829, allocations: 322.8 kB / 436 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.383, allocations: 28.22 kB / 436 MB, free: 2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.782e-05/0.3831, allocations: 23.98 kB / 436 MB, free: 1.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.3833, allocations: 60.81 kB / 436.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3833, allocations: 0 / 436.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002439/0.3835, allocations: 101.5 kB / 436.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3835, allocations: 4 kB / 436.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3835, allocations: 3.984 kB / 436.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3836, allocations: 3.938 kB / 436.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.3837, allocations: 19.98 kB / 436.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3837, allocations: 0 / 436.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.232e-05/0.3838, allocations: 19.92 kB / 436.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.3838, allocations: 0 / 436.2 MB, free: 1.758 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 9.511e-05/0.3839, allocations: 117.8 kB / 436.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.3839, allocations: 3.953 kB / 436.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.3842, allocations: 109.6 kB / 436.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3842, allocations: 0 / 436.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3843, allocations: 4 kB / 436.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3843, allocations: 3.938 kB / 436.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.3844, allocations: 129.3 kB / 436.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3844, allocations: 4 kB / 436.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.3845, allocations: 19.92 kB / 436.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3846, allocations: 0 / 436.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3846, allocations: 0 / 436.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3846, allocations: 4.25 kB / 436.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3846, allocations: 4 kB / 436.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.3849, allocations: 199.3 kB / 436.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.3849, allocations: 4 kB / 436.8 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.3849, allocations: 8 kB / 436.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.385, allocations: 11.98 kB / 436.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.385, allocations: 3.984 kB / 436.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.385, allocations: 4 kB / 436.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.974e-05/0.3851, allocations: 95.64 kB / 436.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3851, allocations: 0 / 436.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.3853, allocations: 19.83 kB / 437 MB, free: 0.9609 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.0001229/0.3855, allocations: 95.25 kB / 437 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002791/0.3857, allocations: 63.95 kB / 437.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3857, allocations: 0 / 437.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.3859, allocations: 35.91 kB / 437.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.3862, allocations: 8 kB / 437.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.3867, allocations: 181.6 kB / 437.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.746e-05/0.3867, allocations: 87.31 kB / 437.4 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.3868, allocations: 4 kB / 437.4 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.3868, allocations: 11.44 kB / 437.4 MB, free: 440 kB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3868, allocations: 0 / 437.4 MB, free: 440 kB / 334.1 MB Notification: Performance of Templates: time 0.003485/0.3903, allocations: 0.783 MB / 438.2 MB, free: 15.67 MB / 350.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.7987581212073565]