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.001764/0.001764, allocations: 111.9 kB / 20.43 MB, free: 1.473 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.001854/0.001854, allocations: 212 kB / 23.74 MB, free: 4.688 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.409/1.409, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.001587/0.001587, allocations: 43.92 kB / 377.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2762, allocations: 53.36 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002834/0.279, allocations: 1.615 MB / 432.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.28, allocations: 0.5727 MB / 433.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.2801, allocations: 0 / 433.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.685e-05/0.2801, allocations: 11.88 kB / 433.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.272e-05/0.2802, allocations: 11.86 kB / 433.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.2804, allocations: 59.83 kB / 433.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.046e-05/0.2805, allocations: 51.84 kB / 433.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2806, allocations: 11.98 kB / 433.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.657e-05/0.2807, allocations: 23.88 kB / 433.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.574e-05/0.2807, allocations: 31.78 kB / 433.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2808, allocations: 8 kB / 433.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.281, allocations: 55.89 kB / 433.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.281, allocations: 8 kB / 433.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.281, allocations: 31.8 kB / 433.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.2812, allocations: 87.98 kB / 433.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2812, allocations: 4 kB / 433.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2812, allocations: 0 / 433.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.2812, allocations: 3.938 kB / 433.7 MB, free: 4.273 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.0004446/0.2816, allocations: 298 kB / 434 MB, free: 3.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2817, allocations: 12.03 kB / 434 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.313e-05/0.2817, allocations: 42.7 kB / 434.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004362/0.2822, allocations: 52.83 kB / 434.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2823, allocations: 118.4 kB / 434.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.2823, allocations: 4.375 kB / 434.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.2823, allocations: 8.375 kB / 434.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.2826, allocations: 101.7 kB / 434.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2826, allocations: 3.984 kB / 434.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.2826, allocations: 4 kB / 434.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2826, allocations: 0 / 434.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.2828, allocations: 63.95 kB / 434.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006248/0.2835, allocations: 347.5 kB / 434.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.2837, allocations: 62.55 kB / 434.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2838, allocations: 36.89 kB / 434.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2838, allocations: 7.984 kB / 434.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.2838, allocations: 34.56 kB / 434.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.2838, allocations: 4 kB / 434.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.000403/0.2842, allocations: 125.5 kB / 435 MB, free: 2.836 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.2842, allocations: 51.41 kB / 435.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2844, allocations: 129.8 kB / 435.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2844, allocations: 29.7 kB / 435.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.115e-05/0.2844, allocations: 100 kB / 435.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.2845, allocations: 19.89 kB / 435.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.2845, allocations: 13.72 kB / 435.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2846, allocations: 322.8 kB / 435.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.947e-05/0.2847, allocations: 19.98 kB / 435.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.327e-05/0.2848, allocations: 31.97 kB / 435.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.285, allocations: 65.12 kB / 435.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.285, allocations: 4 kB / 435.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002373/0.2853, allocations: 93.61 kB / 435.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2853, allocations: 8 kB / 435.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2853, allocations: 3.984 kB / 435.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2853, allocations: 7.875 kB / 435.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.2854, allocations: 15.98 kB / 435.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.2854, allocations: 0 / 435.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.302e-05/0.2855, allocations: 23.88 kB / 435.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.2855, allocations: 4 kB / 435.9 MB, free: 1.855 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.671e-05/0.2856, allocations: 113.8 kB / 436.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.2857, allocations: 4 kB / 436.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.286, allocations: 113.6 kB / 436.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.286, allocations: 7.984 kB / 436.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.286, allocations: 0 / 436.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.286, allocations: 0 / 436.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.2862, allocations: 164.7 kB / 436.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2862, allocations: 0 / 436.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.2864, allocations: 23.98 kB / 436.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2864, allocations: 0 / 436.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2864, allocations: 3.938 kB / 436.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2864, allocations: 0 / 436.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2864, allocations: 7.938 kB / 436.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.2867, allocations: 195.4 kB / 436.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.2867, allocations: 7.953 kB / 436.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.2867, allocations: 4.125 kB / 436.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.2868, allocations: 11.98 kB / 436.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.2868, allocations: 4 kB / 436.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.2868, allocations: 11.98 kB / 436.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.372e-05/0.2869, allocations: 95.27 kB / 436.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2869, allocations: 0 / 436.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.2871, allocations: 19.89 kB / 436.7 MB, free: 1.004 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.0006937/0.2878, allocations: 0.7592 MB / 437.5 MB, free: 224 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.2881, allocations: 71.92 kB / 437.5 MB, free: 152 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2881, allocations: 0 / 437.5 MB, free: 152 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.2882, allocations: 31.92 kB / 437.6 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.2885, allocations: 8 kB / 437.6 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.2904, allocations: 1.468 MB / 439.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.2907, allocations: 0.6953 MB / 439.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.424e-05/0.2907, allocations: 11.94 kB / 439.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.2908, allocations: 23.42 kB / 439.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2908, allocations: 0 / 439.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.3198, allocations: 2.045 MB / 441.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.01, allocations: 6.797 kB / 441.8 MB, free: 11.89 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.397445010021329]