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.001553/0.001553, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001908/0.001908, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 8.004 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 47.92 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2904, allocations: 53.36 MB / 431.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.00313/0.2936, allocations: 1.613 MB / 433.5 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.2946, allocations: 0.5766 MB / 434.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.706e-05/0.2946, allocations: 0 / 434.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.394e-05/0.2947, allocations: 7.875 kB / 434.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.236e-05/0.2947, allocations: 15.86 kB / 434.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.295, allocations: 51.84 kB / 434.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.2951, allocations: 55.83 kB / 434.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.2952, allocations: 15.98 kB / 434.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.2952, allocations: 19.88 kB / 434.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.771e-05/0.2953, allocations: 31.84 kB / 434.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.2953, allocations: 4 kB / 434.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.2956, allocations: 55.89 kB / 434.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.2956, allocations: 8 kB / 434.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.2956, allocations: 31.73 kB / 434.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.2958, allocations: 91.98 kB / 434.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2958, allocations: 4 kB / 434.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2958, allocations: 0 / 434.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.2958, allocations: 0 / 434.5 MB, free: 4.27 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.0005188/0.2964, allocations: 302 kB / 434.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.2964, allocations: 16.02 kB / 434.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.666e-05/0.2964, allocations: 192 / 434.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.991e-05/0.2965, allocations: 46.69 kB / 434.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00045/0.297, allocations: 52.84 kB / 434.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.2971, allocations: 126.4 kB / 435 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.2971, allocations: 4.375 kB / 435 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.2971, allocations: 8.375 kB / 435 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.2974, allocations: 112.6 kB / 435.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2974, allocations: 3.984 kB / 435.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.2974, allocations: 4 kB / 435.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2974, allocations: 4 kB / 435.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.2977, allocations: 75.94 kB / 435.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.2983, allocations: 359.5 kB / 435.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.2985, allocations: 94.47 kB / 435.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.2986, allocations: 52.81 kB / 435.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.2987, allocations: 4 kB / 435.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.2987, allocations: 30.56 kB / 435.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.2987, allocations: 0 / 435.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001654/0.3003, allocations: 397.4 kB / 436.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.3004, allocations: 51.41 kB / 436.2 MB, free: 2.414 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.3005, allocations: 133 kB / 436.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.3005, allocations: 29.7 kB / 436.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.3006, allocations: 96.41 kB / 436.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.3006, allocations: 63.47 kB / 436.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.3007, allocations: 29.7 kB / 436.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3008, allocations: 322.8 kB / 436.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.301, allocations: 55.95 kB / 436.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.3012, allocations: 88.56 kB / 437 MB, free: 1.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.3015, allocations: 125.7 kB / 437.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3015, allocations: 0 / 437.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004213/0.3019, allocations: 185 kB / 437.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.302, allocations: 11.94 kB / 437.3 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.302, allocations: 0 / 437.3 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.302, allocations: 3.938 kB / 437.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.3023, allocations: 43.95 kB / 437.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.3023, allocations: 4 kB / 437.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.3024, allocations: 24.02 kB / 437.4 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.3025, allocations: 7.984 kB / 437.4 MB, free: 1.164 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.0001052/0.3026, allocations: 121.8 kB / 437.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.3026, allocations: 15.88 kB / 437.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/0.3031, allocations: 206.2 kB / 437.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3031, allocations: 0 / 437.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3031, allocations: 4 kB / 437.7 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3031, allocations: 0 / 437.7 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009286/0.304, allocations: 0.5301 MB / 438.3 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.304, allocations: 0 / 438.3 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.3043, allocations: 43.91 kB / 438.3 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.3043, allocations: 4 kB / 438.3 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.3043, allocations: 4 kB / 438.3 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.3043, allocations: 7.984 kB / 438.3 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3043, allocations: 4 kB / 438.3 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.3048, allocations: 299.9 kB / 438.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.3048, allocations: 11.95 kB / 438.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.3049, allocations: 4 kB / 438.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.3051, allocations: 15.98 kB / 438.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.3051, allocations: 27.84 kB / 438.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.3051, allocations: 4 kB / 438.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.359e-05/0.3052, allocations: 95.27 kB / 438.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3052, allocations: 0 / 438.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.3054, allocations: 24 kB / 438.8 MB, free: 15.66 MB / 350.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.0009933/0.3064, allocations: 0.9131 MB / 439.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004227/0.3069, allocations: 143.8 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3069, allocations: 0 / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.3071, allocations: 83.89 kB / 439.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.3074, allocations: 11.94 kB / 440 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.3098, allocations: 1.825 MB / 441.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.3102, allocations: 0.7008 MB / 442.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.126e-05/0.3103, allocations: 20.42 kB / 442.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.3104, allocations: 35.42 kB / 442.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3104, allocations: 0 / 442.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.3354, allocations: 3.311 MB / 445.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.34, allocations: 9.609 kB / 445.9 MB, free: 8.621 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.761304287996609]