Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 115.9 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 8.016 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 51.92 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2603, allocations: 53.36 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003064/0.2634, allocations: 1.607 MB / 433.2 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.2646, allocations: 0.5804 MB / 433.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.2647, allocations: 8 kB / 433.8 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.474e-05/0.2647, allocations: 3.938 kB / 433.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.373e-05/0.2648, allocations: 7.875 kB / 433.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.2651, allocations: 51.83 kB / 433.9 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.2652, allocations: 55.77 kB / 433.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.2653, allocations: 23.98 kB / 434 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.201e-05/0.2654, allocations: 19.94 kB / 434 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.402e-05/0.2655, allocations: 23.8 kB / 434 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.2655, allocations: 8 kB / 434 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.2657, allocations: 55.94 kB / 434.1 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.904e-05/0.2657, allocations: 11.94 kB / 434.1 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.2658, allocations: 27.8 kB / 434.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.266, allocations: 93.17 kB / 434.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.266, allocations: 0 / 434.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.266, allocations: 0 / 434.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.266, allocations: 0 / 434.2 MB, free: 4.348 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.0005892/0.2666, allocations: 301.7 kB / 434.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.2666, allocations: 12.03 kB / 434.5 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004611/0.2671, allocations: 48.83 kB / 434.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.2672, allocations: 130.3 kB / 434.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.2673, allocations: 384 / 434.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.2673, allocations: 4.375 kB / 434.7 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.2675, allocations: 93.95 kB / 434.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2675, allocations: 4 kB / 434.8 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.2675, allocations: 8 kB / 434.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2675, allocations: 0 / 434.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.2678, allocations: 63.94 kB / 434.9 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/0.2684, allocations: 323.6 kB / 435.2 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.2686, allocations: 74.53 kB / 435.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.2687, allocations: 32.97 kB / 435.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.2687, allocations: 3.984 kB / 435.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.2687, allocations: 38.5 kB / 435.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.2687, allocations: 0 / 435.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003923/0.2691, allocations: 121.6 kB / 435.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2692, allocations: 55.34 kB / 435.5 MB, free: 2.922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.2693, allocations: 126 kB / 435.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.2693, allocations: 33.7 kB / 435.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.2694, allocations: 88.09 kB / 435.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.2694, allocations: 23.83 kB / 435.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.2694, allocations: 21.66 kB / 435.8 MB, free: 2.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2696, allocations: 318.8 kB / 436.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.134e-05/0.2697, allocations: 23.98 kB / 436.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-05/0.2697, allocations: 35.91 kB / 436.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.2699, allocations: 64.81 kB / 436.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2699, allocations: 0 / 436.2 MB, free: 2.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002373/0.2702, allocations: 89.61 kB / 436.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2702, allocations: 8 kB / 436.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2702, allocations: 0 / 436.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2702, allocations: 0 / 436.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.2703, allocations: 15.98 kB / 436.3 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.2703, allocations: 3.938 kB / 436.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.182e-05/0.2704, allocations: 15.98 kB / 436.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.2704, allocations: 0 / 436.3 MB, free: 2.023 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.711e-05/0.2705, allocations: 121.8 kB / 436.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.2706, allocations: 7.953 kB / 436.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.2708, allocations: 106.1 kB / 436.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2709, allocations: 4 kB / 436.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.441e-05/0.2709, allocations: 7.984 kB / 436.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2709, allocations: 4 kB / 436.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.2711, allocations: 156.7 kB / 436.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2711, allocations: 0 / 436.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.2712, allocations: 19.97 kB / 436.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2712, allocations: 0 / 436.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.2712, allocations: 8 kB / 436.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2712, allocations: 3.938 kB / 436.8 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2712, allocations: 3.938 kB / 436.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.2715, allocations: 195.5 kB / 437 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.2715, allocations: 7.953 kB / 437 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.2716, allocations: 0 / 437 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.2717, allocations: 11.98 kB / 437 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.2717, allocations: 11.86 kB / 437 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.2717, allocations: 4 kB / 437 MB, free: 1.285 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.308e-05/0.2718, allocations: 103 kB / 437.1 MB, free: 1.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2718, allocations: 0 / 437.1 MB, free: 1.188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.272, allocations: 15.94 kB / 437.1 MB, free: 1.172 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 9.753e-05/0.2721, allocations: 95.23 kB / 437.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.2724, allocations: 63.89 kB / 437.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2724, allocations: 0 / 437.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.833e-05/0.2725, allocations: 39.97 kB / 437.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.2728, allocations: 11.94 kB / 437.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.2732, allocations: 185.5 kB / 437.5 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.2735, allocations: 0.6947 MB / 438.2 MB, free: 32 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.43e-05/0.2736, allocations: 11.98 kB / 438.2 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.2736, allocations: 7.438 kB / 438.2 MB, free: 12 kB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2736, allocations: 0 / 438.2 MB, free: 12 kB / 334.1 MB Notification: Performance of Templates: time 0.00345/0.2771, allocations: 0.7539 MB / 439 MB, free: 15.27 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.582540235947818]