Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 187.3 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 55.84 kB / 371.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2673, allocations: 52.17 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002984/0.2703, allocations: 1.578 MB / 425.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.2713, allocations: 494.8 kB / 425.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.2714, allocations: 0 / 425.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.863e-05/0.2714, allocations: 11.86 kB / 425.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.121e-05/0.2715, allocations: 11.88 kB / 425.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.2718, allocations: 47.84 kB / 425.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.2719, allocations: 55.83 kB / 426 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.272, allocations: 15.92 kB / 426 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.052e-05/0.272, allocations: 23.88 kB / 426 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.2721, allocations: 23.84 kB / 426.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.2721, allocations: 8 kB / 426.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.2723, allocations: 39.89 kB / 426.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.2723, allocations: 15.94 kB / 426.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.2724, allocations: 19.86 kB / 426.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.2726, allocations: 90.66 kB / 426.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2726, allocations: 0 / 426.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2726, allocations: 0 / 426.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2726, allocations: 0 / 426.2 MB, free: 12.05 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.0004642/0.273, allocations: 305.7 kB / 426.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2731, allocations: 15.97 kB / 426.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003721/0.2734, allocations: 40.84 kB / 426.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2736, allocations: 126.3 kB / 426.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.2736, allocations: 4.375 kB / 426.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.2736, allocations: 15.94 kB / 426.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.2739, allocations: 81.64 kB / 426.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2739, allocations: 0 / 426.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.2739, allocations: 8 kB / 426.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2739, allocations: 0 / 426.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.2741, allocations: 59.95 kB / 426.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/0.2747, allocations: 284.3 kB / 427.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.2749, allocations: 70.53 kB / 427.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.275, allocations: 32.97 kB / 427.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.275, allocations: 3.938 kB / 427.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.275, allocations: 42.55 kB / 427.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.275, allocations: 0 / 427.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004081/0.2754, allocations: 117.8 kB / 427.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.2755, allocations: 55.34 kB / 427.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2756, allocations: 117.8 kB / 427.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.2756, allocations: 25.7 kB / 427.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.2757, allocations: 96.03 kB / 427.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.2757, allocations: 23.84 kB / 427.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.2758, allocations: 17.72 kB / 427.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2759, allocations: 314.8 kB / 428.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.276, allocations: 31.98 kB / 428.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.972e-05/0.2761, allocations: 35.97 kB / 428.1 MB, free: 10 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.2763, allocations: 56.83 kB / 428.2 MB, free: 9.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2763, allocations: 0 / 428.2 MB, free: 9.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002423/0.2765, allocations: 89.64 kB / 428.3 MB, free: 9.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2766, allocations: 4 kB / 428.3 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2766, allocations: 8 kB / 428.3 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2766, allocations: 0 / 428.3 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.2767, allocations: 19.92 kB / 428.3 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.2767, allocations: 0 / 428.3 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.006e-05/0.2768, allocations: 27.75 kB / 428.3 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.2768, allocations: 0 / 428.3 MB, free: 9.793 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.529e-05/0.2769, allocations: 113.8 kB / 428.4 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.2769, allocations: 4 kB / 428.4 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.2773, allocations: 109.7 kB / 428.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.2773, allocations: 7.938 kB / 428.5 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2773, allocations: 0 / 428.5 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2773, allocations: 0 / 428.5 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.2775, allocations: 141.2 kB / 428.7 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2775, allocations: 0 / 428.7 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.2776, allocations: 19.92 kB / 428.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2776, allocations: 0 / 428.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.2776, allocations: 4.25 kB / 428.7 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.2776, allocations: 8 kB / 428.7 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2776, allocations: 3.938 kB / 428.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.2779, allocations: 187.5 kB / 428.9 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.2779, allocations: 7.953 kB / 428.9 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.278, allocations: 0 / 428.9 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.2781, allocations: 15.98 kB / 428.9 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.2781, allocations: 7.922 kB / 428.9 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.2781, allocations: 8 kB / 428.9 MB, free: 9.102 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.884e-05/0.2782, allocations: 87.28 kB / 429 MB, free: 9.016 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2782, allocations: 0 / 429 MB, free: 9.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.2784, allocations: 8 kB / 429 MB, free: 9.008 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.0001034/0.2785, allocations: 99.17 kB / 429.1 MB, free: 8.902 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.2788, allocations: 59.95 kB / 429.2 MB, free: 8.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2788, allocations: 0 / 429.2 MB, free: 8.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.2789, allocations: 39.97 kB / 429.2 MB, free: 8.805 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.2792, allocations: 15.92 kB / 429.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/0.2797, allocations: 223 kB / 429.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.284e-05/0.2798, allocations: 75.33 kB / 429.5 MB, free: 8.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.2798, allocations: 11.44 kB / 429.5 MB, free: 8.434 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2798, allocations: 7.938 kB / 429.6 MB, free: 8.426 MB / 334.1 MB Notification: Performance of Templates: time 0.002562/0.2824, allocations: 0.9913 MB / 430.5 MB, free: 7.441 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.7194942850619555]