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.001558/0.001558, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001776/0.001776, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.445/1.445, allocations: 225.6 MB / 253.3 MB, free: 13.02 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 43.94 kB / 371.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2899, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002989/0.2929, allocations: 1.613 MB / 425 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2939, allocations: 0.5182 MB / 425.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.2939, allocations: 0 / 425.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.775e-05/0.294, allocations: 7.875 kB / 425.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.2941, allocations: 11.88 kB / 425.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.2944, allocations: 51.88 kB / 425.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2945, allocations: 47.8 kB / 425.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.2946, allocations: 23.92 kB / 425.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.366e-05/0.2946, allocations: 19.92 kB / 425.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.2947, allocations: 27.84 kB / 425.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.2947, allocations: 4 kB / 425.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.2949, allocations: 43.97 kB / 425.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.2949, allocations: 23.86 kB / 425.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.295, allocations: 23.81 kB / 425.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.2952, allocations: 87.22 kB / 425.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2952, allocations: 3.938 kB / 425.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2952, allocations: 0 / 425.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.2952, allocations: 0 / 425.9 MB, free: 12.1 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.000502/0.2957, allocations: 299.3 kB / 426.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2957, allocations: 12.02 kB / 426.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.285e-05/0.2958, allocations: 12.17 kB / 426.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.75e-05/0.2958, allocations: 46.69 kB / 426.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000372/0.2962, allocations: 48.84 kB / 426.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.2963, allocations: 118.4 kB / 426.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.2964, allocations: 11.94 kB / 426.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.2964, allocations: 8 kB / 426.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.2967, allocations: 97.62 kB / 426.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2967, allocations: 7.891 kB / 426.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.2967, allocations: 4 kB / 426.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2967, allocations: 11.98 kB / 426.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.297, allocations: 79.88 kB / 426.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006956/0.2977, allocations: 351.6 kB / 427 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.2979, allocations: 94.52 kB / 427.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.298, allocations: 48.83 kB / 427.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.298, allocations: 0 / 427.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.2981, allocations: 34.78 kB / 427.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 8.72e-07/0.2981, allocations: 0 / 427.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001826/0.2999, allocations: 397.1 kB / 427.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.3, allocations: 55.41 kB / 427.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.3001, allocations: 126.1 kB / 427.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.3001, allocations: 33.7 kB / 427.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.3002, allocations: 92.42 kB / 427.9 MB, free: 9.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/0.3002, allocations: 63.5 kB / 427.9 MB, free: 9.914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-05/0.3003, allocations: 29.7 kB / 428 MB, free: 9.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3005, allocations: 318.8 kB / 428.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.3006, allocations: 59.95 kB / 428.3 MB, free: 9.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.3008, allocations: 73.67 kB / 428.4 MB, free: 9.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/0.3013, allocations: 140.5 kB / 428.5 MB, free: 9.281 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3013, allocations: 4 kB / 428.5 MB, free: 9.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006731/0.302, allocations: 189.5 kB / 428.7 MB, free: 9.086 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.302, allocations: 4 kB / 428.7 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.302, allocations: 3.938 kB / 428.7 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.3021, allocations: 4 kB / 428.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.3024, allocations: 43.91 kB / 428.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3024, allocations: 0 / 428.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.3026, allocations: 19.97 kB / 428.8 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.3026, allocations: 12.03 kB / 428.8 MB, free: 9 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001507/0.3028, allocations: 117.8 kB / 428.9 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.3028, allocations: 7.953 kB / 428.9 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005646/0.3034, allocations: 213.5 kB / 429.1 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3034, allocations: 4 kB / 429.1 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.3034, allocations: 4 kB / 429.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3034, allocations: 0 / 429.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.3044, allocations: 0.5223 MB / 429.7 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3044, allocations: 4.062 kB / 429.7 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.3047, allocations: 43.97 kB / 429.7 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3047, allocations: 3.938 kB / 429.7 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.3047, allocations: 4 kB / 429.7 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3047, allocations: 3.938 kB / 429.7 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.3047, allocations: 7.922 kB / 429.7 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/0.3052, allocations: 296.8 kB / 430 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.3052, allocations: 11.94 kB / 430 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.3053, allocations: 0 / 430 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.3055, allocations: 23.92 kB / 430.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.3055, allocations: 11.97 kB / 430.1 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.3055, allocations: 12 kB / 430.1 MB, free: 7.633 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.036e-05/0.3056, allocations: 95.27 kB / 430.2 MB, free: 7.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3056, allocations: 0 / 430.2 MB, free: 7.539 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.3059, allocations: 24 kB / 430.2 MB, free: 7.516 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 17 * 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.001085/0.307, allocations: 0.9014 MB / 431.1 MB, free: 6.582 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004507/0.3074, allocations: 155.7 kB / 431.3 MB, free: 6.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3074, allocations: 4.062 kB / 431.3 MB, free: 6.426 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.3076, allocations: 79.83 kB / 431.3 MB, free: 6.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.308, allocations: 17.25 kB / 431.4 MB, free: 6.332 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.3109, allocations: 1.838 MB / 433.2 MB, free: 4.402 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.3113, allocations: 0.7078 MB / 433.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.3114, allocations: 16.48 kB / 433.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.3115, allocations: 43.41 kB / 434 MB, free: 3.609 MB / 334.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3115, allocations: 0 / 434 MB, free: 3.609 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.3372, allocations: 3.329 MB / 437.3 MB, free: 436 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.65, allocations: 64 / 437.3 MB, free: 436 kB / 334.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 52.5] 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: 14.090306958998553]