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.001718/0.001718, allocations: 105.4 kB / 19.81 MB, free: 2.516 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.002354/0.002354, allocations: 218.2 kB / 23 MB, free: 5.609 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.526/1.526, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.001986/0.001986, allocations: 71.88 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3657, allocations: 53.33 MB / 429.8 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003563/0.3693, allocations: 1.605 MB / 431.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3705, allocations: 0.5688 MB / 432 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.3705, allocations: 0 / 432 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.477e-05/0.3706, allocations: 15.81 kB / 432 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.308e-05/0.3707, allocations: 15.86 kB / 432 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.371, allocations: 51.83 kB / 432.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.3711, allocations: 47.84 kB / 432.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.3713, allocations: 27.97 kB / 432.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.297e-05/0.3713, allocations: 15.88 kB / 432.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.62e-05/0.3714, allocations: 31.84 kB / 432.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.3714, allocations: 4 kB / 432.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000254/0.3717, allocations: 55.89 kB / 432.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.3717, allocations: 11.98 kB / 432.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.3717, allocations: 27.81 kB / 432.3 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.372, allocations: 85.19 kB / 432.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.372, allocations: 0 / 432.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.372, allocations: 0 / 432.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.372, allocations: 0 / 432.4 MB, free: 4.949 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.0006568/0.3726, allocations: 386.7 kB / 432.7 MB, free: 4.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/0.3727, allocations: 12.03 kB / 432.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000557/0.3732, allocations: 48.84 kB / 432.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.3735, allocations: 180.2 kB / 433 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.3736, allocations: 8.375 kB / 433 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.3736, allocations: 8.359 kB / 433 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.3739, allocations: 93.95 kB / 433.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3739, allocations: 0 / 433.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.374, allocations: 0 / 433.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.374, allocations: 0 / 433.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.3742, allocations: 71.89 kB / 433.2 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009266/0.3752, allocations: 352.6 kB / 433.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.3754, allocations: 70.48 kB / 433.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.3755, allocations: 36.95 kB / 433.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3755, allocations: 0 / 433.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.3756, allocations: 30.56 kB / 433.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.3756, allocations: 3.938 kB / 433.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.000536/0.3761, allocations: 133.5 kB / 433.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.18e-05/0.3762, allocations: 55.41 kB / 433.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.3764, allocations: 129.4 kB / 433.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.3764, allocations: 25.7 kB / 434 MB, free: 3.145 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3765, allocations: 96.09 kB / 434.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.3766, allocations: 15.83 kB / 434.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/0.3766, allocations: 17.72 kB / 434.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.3769, allocations: 322.8 kB / 434.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.377, allocations: 27.98 kB / 434.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.096e-05/0.3771, allocations: 23.97 kB / 434.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.3773, allocations: 60.77 kB / 434.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.3773, allocations: 0 / 434.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002673/0.3775, allocations: 105.5 kB / 434.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.3776, allocations: 4 kB / 434.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3776, allocations: 0 / 434.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.3776, allocations: 0 / 434.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.3778, allocations: 19.98 kB / 434.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.3778, allocations: 3.938 kB / 434.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.641e-05/0.3779, allocations: 11.98 kB / 434.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.3779, allocations: 4 kB / 434.7 MB, free: 2.418 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.0001593/0.3781, allocations: 113.8 kB / 434.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.3781, allocations: 7.938 kB / 434.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/0.3785, allocations: 109.5 kB / 434.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3785, allocations: 0 / 434.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.3785, allocations: 7.938 kB / 434.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3785, allocations: 4.484 kB / 434.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.3788, allocations: 189.6 kB / 435.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3788, allocations: 4 kB / 435.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.3789, allocations: 23.98 kB / 435.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.379, allocations: 3.984 kB / 435.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.379, allocations: 0 / 435.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.379, allocations: 0 / 435.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.379, allocations: 3.938 kB / 435.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.3793, allocations: 195.5 kB / 435.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.439e-05/0.3794, allocations: 85.05 kB / 435.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.3794, allocations: 7.938 kB / 435.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3795, allocations: 15.92 kB / 435.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.3796, allocations: 7.938 kB / 435.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3796, allocations: 0 / 435.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.221e-05/0.3797, allocations: 95.27 kB / 435.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3797, allocations: 0 / 435.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.3799, allocations: 15.94 kB / 435.5 MB, free: 1.441 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.0001601/0.3801, allocations: 95.25 kB / 435.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.3803, allocations: 63.94 kB / 435.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3803, allocations: 4 kB / 435.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3804, allocations: 31.92 kB / 435.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.3808, allocations: 11.98 kB / 435.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005363/0.3813, allocations: 201.4 kB / 435.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.3817, allocations: 0.6885 MB / 436.6 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.358e-05/0.3817, allocations: 15.97 kB / 436.6 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.3818, allocations: 11.44 kB / 436.7 MB, free: 272 kB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3818, allocations: 0 / 436.7 MB, free: 272 kB / 334.1 MB Notification: Performance of Templates: time 0.004003/0.3858, allocations: 0.7359 MB / 437.4 MB, free: 15.53 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.815486989915371]