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.001546/0.001546, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001679/0.001679, allocations: 212.2 kB / 24.48 MB, free: 3.977 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.424/1.424, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.00153/0.00153, allocations: 47.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2314, allocations: 53.37 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002785/0.2342, allocations: 1.586 MB / 433.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2352, allocations: 0.5336 MB / 434.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.2352, allocations: 4 kB / 434.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.915e-05/0.2353, allocations: 11.86 kB / 434.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.287e-05/0.2354, allocations: 7.922 kB / 434.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.2356, allocations: 55.78 kB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.047e-05/0.2357, allocations: 51.84 kB / 434.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.2358, allocations: 23.97 kB / 434.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.2359, allocations: 19.92 kB / 434.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.812e-05/0.2359, allocations: 23.86 kB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.236, allocations: 8 kB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.2362, allocations: 55.89 kB / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.2362, allocations: 11.92 kB / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.2362, allocations: 23.88 kB / 434.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.2364, allocations: 91.16 kB / 434.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2364, allocations: 0 / 434.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2364, allocations: 0 / 434.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2364, allocations: 0 / 434.8 MB, free: 4.242 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.0004465/0.2368, allocations: 301.1 kB / 435.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2369, allocations: 12.03 kB / 435.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004524/0.2373, allocations: 44.84 kB / 435.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.2375, allocations: 134.3 kB / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.2375, allocations: 4.375 kB / 435.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.2375, allocations: 8.375 kB / 435.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.2377, allocations: 89.95 kB / 435.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2377, allocations: 0 / 435.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.2378, allocations: 4 kB / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.2378, allocations: 4 kB / 435.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.238, allocations: 59.95 kB / 435.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.2386, allocations: 284.2 kB / 435.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.2388, allocations: 74.47 kB / 435.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.2389, allocations: 32.95 kB / 435.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.2389, allocations: 3.938 kB / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.2389, allocations: 38.56 kB / 435.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.2389, allocations: 4 kB / 435.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.000424/0.2394, allocations: 117.6 kB / 436 MB, free: 2.938 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.2394, allocations: 51.41 kB / 436.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.2395, allocations: 117.8 kB / 436.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.2395, allocations: 29.7 kB / 436.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.2396, allocations: 96.03 kB / 436.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.2396, allocations: 19.84 kB / 436.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.2397, allocations: 17.7 kB / 436.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2398, allocations: 330.7 kB / 436.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.2399, allocations: 27.91 kB / 436.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-05/0.24, allocations: 27.98 kB / 436.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.2402, allocations: 65.19 kB / 436.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2402, allocations: 0 / 436.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002799/0.2405, allocations: 93.61 kB / 436.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2405, allocations: 8 kB / 436.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.2405, allocations: 0 / 436.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2405, allocations: 3.984 kB / 436.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.2406, allocations: 19.92 kB / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2407, allocations: 0 / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-05/0.2407, allocations: 15.92 kB / 436.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.2408, allocations: 4 kB / 436.9 MB, free: 1.973 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 8.721e-05/0.2408, allocations: 113.8 kB / 437 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.2409, allocations: 7.953 kB / 437 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.2412, allocations: 109.7 kB / 437.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2412, allocations: 0 / 437.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2412, allocations: 0 / 437.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2412, allocations: 3.938 kB / 437.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.2414, allocations: 129.3 kB / 437.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2414, allocations: 0 / 437.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.2415, allocations: 27.92 kB / 437.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2415, allocations: 0 / 437.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.2415, allocations: 7.938 kB / 437.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2415, allocations: 0 / 437.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2415, allocations: 0 / 437.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.2418, allocations: 199.4 kB / 437.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.2418, allocations: 4.188 kB / 437.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.2418, allocations: 4 kB / 437.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.242, allocations: 15.98 kB / 437.5 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.242, allocations: 3.984 kB / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.242, allocations: 0 / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.168e-05/0.242, allocations: 95.27 kB / 437.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.242, allocations: 0 / 437.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.2423, allocations: 23.83 kB / 437.7 MB, free: 1.176 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.0001052/0.2424, allocations: 95.19 kB / 437.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.2426, allocations: 63.95 kB / 437.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2426, allocations: 0 / 437.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.2427, allocations: 39.91 kB / 437.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.243, allocations: 4 kB / 437.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.2435, allocations: 189.5 kB / 438 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.213e-05/0.2435, allocations: 79.33 kB / 438.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.542e-05/0.2436, allocations: 4 kB / 438.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.2436, allocations: 11.44 kB / 438.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2436, allocations: 0 / 438.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of Templates: time 0.003286/0.2469, allocations: 0.8089 MB / 438.9 MB, free: 15.86 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/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.128989677003119]