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.001666/0.001666, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.002042/0.002042, allocations: 188.1 kB / 23.72 MB, free: 4.684 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.351/1.351, allocations: 225.6 MB / 252.5 MB, free: 13.03 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 51.91 kB / 370.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2834, allocations: 52.19 MB / 422.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003058/0.2865, allocations: 1.598 MB / 424.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009462/0.2874, allocations: 0.5376 MB / 424.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.2875, allocations: 0 / 424.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.614e-05/0.2875, allocations: 3.938 kB / 424.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.64e-05/0.2876, allocations: 11.88 kB / 424.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.2878, allocations: 51.81 kB / 424.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.405e-05/0.2879, allocations: 51.84 kB / 424.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.288, allocations: 19.94 kB / 424.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.678e-05/0.2881, allocations: 19.92 kB / 424.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.2881, allocations: 23.86 kB / 424.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.2882, allocations: 8 kB / 425 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.2883, allocations: 43.89 kB / 425 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.2883, allocations: 15.92 kB / 425 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.2884, allocations: 23.81 kB / 425 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.2886, allocations: 84.55 kB / 425.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2886, allocations: 0 / 425.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2886, allocations: 0 / 425.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2886, allocations: 4 kB / 425.1 MB, free: 12.14 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.0004697/0.289, allocations: 313.4 kB / 425.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2891, allocations: 8.031 kB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.207e-05/0.2891, allocations: 38.75 kB / 425.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003919/0.2895, allocations: 48.8 kB / 425.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2897, allocations: 130.3 kB / 425.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.2897, allocations: 12.12 kB / 425.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.2897, allocations: 12 kB / 425.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.2899, allocations: 89.64 kB / 425.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.29, allocations: 0 / 425.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.29, allocations: 0 / 425.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.29, allocations: 4 kB / 425.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.2902, allocations: 75.88 kB / 425.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.2908, allocations: 331.6 kB / 426.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.291, allocations: 66.52 kB / 426.2 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.454e-05/0.2911, allocations: 32.97 kB / 426.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.2911, allocations: 4 kB / 426.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.2911, allocations: 42.5 kB / 426.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.2911, allocations: 0 / 426.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.000399/0.2915, allocations: 125.6 kB / 426.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.2916, allocations: 51.41 kB / 426.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2917, allocations: 125.3 kB / 426.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.2917, allocations: 29.7 kB / 426.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.2918, allocations: 108 kB / 426.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.2918, allocations: 11.91 kB / 426.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.2918, allocations: 17.72 kB / 426.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.292, allocations: 318.8 kB / 427.1 MB, free: 10 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-05/0.2921, allocations: 23.98 kB / 427.1 MB, free: 9.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.711e-05/0.2921, allocations: 27.97 kB / 427.1 MB, free: 9.953 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.2923, allocations: 64.81 kB / 427.2 MB, free: 9.887 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2923, allocations: 3.938 kB / 427.2 MB, free: 9.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002251/0.2925, allocations: 97.48 kB / 427.3 MB, free: 9.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2926, allocations: 4 kB / 427.3 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2926, allocations: 4 kB / 427.3 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2926, allocations: 0 / 427.3 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.2927, allocations: 19.98 kB / 427.3 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2927, allocations: 0 / 427.3 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.585e-05/0.2928, allocations: 11.98 kB / 427.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.2928, allocations: 0 / 427.3 MB, free: 9.742 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 9.194e-05/0.2929, allocations: 113.8 kB / 427.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.2929, allocations: 11.89 kB / 427.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.2933, allocations: 113.6 kB / 427.6 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2933, allocations: 4 kB / 427.6 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2933, allocations: 0 / 427.6 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2933, allocations: 0.5 kB / 427.6 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.2935, allocations: 172.6 kB / 427.7 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2935, allocations: 0 / 427.7 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.2936, allocations: 27.86 kB / 427.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2936, allocations: 0 / 427.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.2936, allocations: 7.984 kB / 427.8 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2936, allocations: 4 kB / 427.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2936, allocations: 0 / 427.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.2939, allocations: 191.4 kB / 428 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.2939, allocations: 15.89 kB / 428 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.294, allocations: 3.984 kB / 428 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.2941, allocations: 12 kB / 428 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.2941, allocations: 3.984 kB / 428 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.2941, allocations: 4 kB / 428 MB, free: 8.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.244e-05/0.2942, allocations: 95.27 kB / 428.1 MB, free: 8.898 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2942, allocations: 0 / 428.1 MB, free: 8.898 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.2944, allocations: 12 kB / 428.1 MB, free: 8.887 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.0007051/0.2951, allocations: 0.7632 MB / 428.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.2953, allocations: 63.89 kB / 428.9 MB, free: 8.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.2953, allocations: 0 / 428.9 MB, free: 8.035 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.2954, allocations: 39.97 kB / 429 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.2958, allocations: 8 kB / 429 MB, free: 7.988 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.2976, allocations: 1.471 MB / 430.4 MB, free: 6.438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.2979, allocations: 0.7078 MB / 431.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.285e-05/0.2979, allocations: 4 kB / 431.2 MB, free: 5.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.298, allocations: 19.42 kB / 431.2 MB, free: 5.68 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.298, allocations: 0 / 431.2 MB, free: 5.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.3258, allocations: 2.103 MB / 433.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.46, allocations: 0 / 433.3 MB, free: 3.715 MB / 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: 13.721883405931294]