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.001263/0.001263, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001426/0.001426, allocations: 206.8 kB / 23.73 MB, free: 4.523 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.415/1.415, allocations: 230.6 MB / 257.5 MB, free: 7.789 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 51.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2899, allocations: 53.36 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003661/0.2936, allocations: 1.58 MB / 432.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.2948, allocations: 0.5338 MB / 433.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.2948, allocations: 0 / 433.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.213e-05/0.2949, allocations: 7.875 kB / 433.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.202e-05/0.295, allocations: 11.88 kB / 433.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.2953, allocations: 59.81 kB / 433.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.2954, allocations: 51.84 kB / 433.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2955, allocations: 12 kB / 433.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.242e-05/0.2956, allocations: 23.86 kB / 433.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.2956, allocations: 27.86 kB / 433.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.2956, allocations: 4 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.2959, allocations: 63.81 kB / 433.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.2959, allocations: 8 kB / 433.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.296, allocations: 27.86 kB / 433.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.2962, allocations: 93.25 kB / 433.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2962, allocations: 0 / 433.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2962, allocations: 0 / 433.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2962, allocations: 0 / 433.6 MB, free: 4.141 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.0005225/0.2967, allocations: 302 kB / 433.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.2967, allocations: 8.031 kB / 433.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.28e-05/0.2968, allocations: 46.69 kB / 433.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004937/0.2973, allocations: 52.83 kB / 434 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.2975, allocations: 118.4 kB / 434.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/0.2975, allocations: 4.375 kB / 434.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.2975, allocations: 8.375 kB / 434.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.2979, allocations: 97.7 kB / 434.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2979, allocations: 0 / 434.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.2979, allocations: 4 kB / 434.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.2979, allocations: 0 / 434.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.2981, allocations: 75.94 kB / 434.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008165/0.2989, allocations: 323.5 kB / 434.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.2992, allocations: 70.53 kB / 434.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.2993, allocations: 28.97 kB / 434.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.2993, allocations: 4 kB / 434.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.2994, allocations: 34.56 kB / 434.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.814e-06/0.2994, allocations: 0 / 434.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005264/0.2999, allocations: 129.5 kB / 434.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.3, allocations: 51.41 kB / 434.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.3001, allocations: 129.3 kB / 435 MB, free: 2.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.3002, allocations: 25.7 kB / 435.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.283e-05/0.3002, allocations: 112 kB / 435.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.3003, allocations: 15.91 kB / 435.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.594e-05/0.3003, allocations: 17.7 kB / 435.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.3006, allocations: 314.8 kB / 435.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.3007, allocations: 27.97 kB / 435.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.3008, allocations: 27.98 kB / 435.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.301, allocations: 65.12 kB / 435.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.301, allocations: 4 kB / 435.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002778/0.3013, allocations: 93.61 kB / 435.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.3013, allocations: 8 kB / 435.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3013, allocations: 7.922 kB / 435.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.3013, allocations: 3.938 kB / 435.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.3015, allocations: 19.97 kB / 435.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3015, allocations: 0 / 435.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-05/0.3016, allocations: 27.86 kB / 435.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.3016, allocations: 4 kB / 435.8 MB, free: 1.73 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 0.0001184/0.3017, allocations: 113.8 kB / 435.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.3018, allocations: 4 kB / 435.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.3021, allocations: 117.6 kB / 436 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3021, allocations: 0 / 436 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3021, allocations: 0 / 436 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3021, allocations: 8 kB / 436 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.3024, allocations: 152.7 kB / 436.2 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3024, allocations: 4 kB / 436.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.3025, allocations: 23.91 kB / 436.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3025, allocations: 0 / 436.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.3025, allocations: 3.938 kB / 436.2 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.3025, allocations: 4 kB / 436.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3025, allocations: 0 / 436.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.3028, allocations: 199.6 kB / 436.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.3029, allocations: 11.95 kB / 436.4 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.3029, allocations: 3.938 kB / 436.4 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.303, allocations: 11.98 kB / 436.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.303, allocations: 0 / 436.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.303, allocations: 4 kB / 436.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.197e-05/0.3031, allocations: 95.27 kB / 436.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3031, allocations: 0 / 436.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.3034, allocations: 19.89 kB / 436.6 MB, free: 0.8906 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.0007899/0.3041, allocations: 0.7631 MB / 437.3 MB, free: 104 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.3044, allocations: 63.94 kB / 437.4 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3044, allocations: 4 kB / 437.4 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.3045, allocations: 39.95 kB / 437.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.3049, allocations: 8 kB / 437.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.3069, allocations: 1.46 MB / 438.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.592e-05/0.307, allocations: 91.59 kB / 439 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.429e-05/0.3071, allocations: 4 kB / 439 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.3072, allocations: 27.42 kB / 439 MB, free: 14.3 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3072, allocations: 0 / 439 MB, free: 14.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.3392, allocations: 2.532 MB / 441.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.71, allocations: 3.25 kB / 441.5 MB, free: 11.91 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 52.5] 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: 13.02516319300048]