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.001773/0.001773, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.00206/0.00206, allocations: 188.5 kB / 24.49 MB, free: 3.941 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.35/1.35, allocations: 225.7 MB / 253.3 MB, free: 12.83 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.001406/0.001406, allocations: 47.92 kB / 371.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2325, allocations: 52.18 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002744/0.2352, allocations: 1.567 MB / 424.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008676/0.2361, allocations: 0.4909 MB / 425.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.2362, allocations: 0 / 425.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.394e-05/0.2362, allocations: 3.938 kB / 425.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.285e-05/0.2363, allocations: 11.88 kB / 425.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.2365, allocations: 55.81 kB / 425.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.687e-05/0.2366, allocations: 47.84 kB / 425.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2367, allocations: 23.73 kB / 425.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.587e-05/0.2367, allocations: 19.92 kB / 425.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.155e-05/0.2368, allocations: 23.86 kB / 425.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.2368, allocations: 4 kB / 425.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.237, allocations: 51.89 kB / 425.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.237, allocations: 19.92 kB / 425.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.237, allocations: 15.88 kB / 425.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.2372, allocations: 85.89 kB / 425.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2372, allocations: 4 kB / 425.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2372, allocations: 0 / 425.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.2372, allocations: 0 / 425.8 MB, free: 11.96 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.0004351/0.2376, allocations: 302 kB / 426.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2377, allocations: 12.03 kB / 426.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.427e-05/0.2377, allocations: 4.188 kB / 426.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.716e-05/0.2377, allocations: 50.62 kB / 426.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003462/0.2381, allocations: 44.84 kB / 426.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.2382, allocations: 126.4 kB / 426.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.2382, allocations: 11.94 kB / 426.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.2383, allocations: 12 kB / 426.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.2385, allocations: 93.58 kB / 426.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2385, allocations: 7.953 kB / 426.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.2385, allocations: 4 kB / 426.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.2385, allocations: 0 / 426.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.2388, allocations: 79.92 kB / 426.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006443/0.2394, allocations: 339.6 kB / 426.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.2397, allocations: 94.52 kB / 426.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.2398, allocations: 60.91 kB / 427 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.2398, allocations: 0 / 427 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.2398, allocations: 34.56 kB / 427 MB, free: 10.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 9.01e-07/0.2398, allocations: 0 / 427 MB, free: 10.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001838/0.2417, allocations: 389.2 kB / 427.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.2417, allocations: 59.34 kB / 427.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.2418, allocations: 130.1 kB / 427.6 MB, free: 9.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.2419, allocations: 29.69 kB / 427.6 MB, free: 9.945 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.2419, allocations: 96.42 kB / 427.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.827e-05/0.242, allocations: 47.53 kB / 427.8 MB, free: 9.797 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.242, allocations: 33.7 kB / 427.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2422, allocations: 322.8 kB / 428.1 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.2423, allocations: 59.89 kB / 428.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.2425, allocations: 77.67 kB / 428.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.2429, allocations: 143.8 kB / 428.4 MB, free: 9.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2429, allocations: 0 / 428.4 MB, free: 9.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004308/0.2433, allocations: 189.4 kB / 428.6 MB, free: 8.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2433, allocations: 4 kB / 428.6 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2433, allocations: 4.031 kB / 428.6 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2434, allocations: 3.984 kB / 428.6 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.2437, allocations: 43.97 kB / 428.6 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.2437, allocations: 0 / 428.6 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.2439, allocations: 19.98 kB / 428.6 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.2439, allocations: 7.984 kB / 428.7 MB, free: 8.875 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.0001073/0.244, allocations: 125.7 kB / 428.8 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.244, allocations: 7.953 kB / 428.8 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005086/0.2445, allocations: 206.2 kB / 429 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2445, allocations: 0 / 429 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2445, allocations: 4 kB / 429 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2445, allocations: 0 / 429 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009231/0.2455, allocations: 0.5063 MB / 429.5 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.2455, allocations: 3.984 kB / 429.5 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.2457, allocations: 43.91 kB / 429.5 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2457, allocations: 0 / 429.5 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.2457, allocations: 4 kB / 429.5 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2457, allocations: 3.938 kB / 429.5 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2457, allocations: 0 / 429.5 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/0.2462, allocations: 300.4 kB / 429.8 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.2462, allocations: 11.94 kB / 429.9 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.2463, allocations: 4 kB / 429.9 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.2465, allocations: 19.92 kB / 429.9 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.2465, allocations: 19.92 kB / 429.9 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.2465, allocations: 7.984 kB / 429.9 MB, free: 7.531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.724e-05/0.2466, allocations: 93.27 kB / 430 MB, free: 7.441 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2466, allocations: 4 kB / 430 MB, free: 7.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.2469, allocations: 24 kB / 430 MB, free: 7.414 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.000999/0.2479, allocations: 0.9053 MB / 430.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004218/0.2483, allocations: 163.6 kB / 431.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2483, allocations: 0 / 431.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.2485, allocations: 75.89 kB / 431.2 MB, free: 6.242 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.2488, allocations: 19.98 kB / 431.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.2514, allocations: 1.833 MB / 433 MB, free: 4.297 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.659e-05/0.2515, allocations: 96.05 kB / 433.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.504e-05/0.2516, allocations: 16.48 kB / 433.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.2517, allocations: 35.42 kB / 433.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2517, allocations: 0 / 433.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.2756, allocations: 3.576 MB / 436.7 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.85, allocations: 11.38 kB / 436.7 MB, free: 0.7031 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.134705387987196]