Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.001603/0.001603, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001584/0.001584, allocations: 216.1 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 58.58 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2871, allocations: 49.16 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.00276/0.2898, allocations: 1.554 MB / 397.9 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009129/0.2907, allocations: 0.536 MB / 398.4 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.2908, allocations: 1.281 kB / 398.4 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.581e-05/0.2908, allocations: 5.391 kB / 398.4 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.905e-05/0.2909, allocations: 17.02 kB / 398.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.2911, allocations: 42.28 kB / 398.5 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.754e-05/0.2912, allocations: 51.38 kB / 398.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2913, allocations: 23.58 kB / 398.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.831e-05/0.2914, allocations: 21.64 kB / 398.6 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.2914, allocations: 22.45 kB / 398.6 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.2914, allocations: 4.562 kB / 398.6 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.2916, allocations: 47.83 kB / 398.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.2917, allocations: 16.55 kB / 398.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.2917, allocations: 26.05 kB / 398.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.2918, allocations: 77.17 kB / 398.8 MB, free: 7.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2919, allocations: 3.938 kB / 398.8 MB, free: 7.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2919, allocations: 0 / 398.8 MB, free: 7.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.2919, allocations: 1.219 kB / 398.8 MB, free: 7.305 MB / 318.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.0004014/0.2923, allocations: 303.5 kB / 399.1 MB, free: 7.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.2923, allocations: 14.45 kB / 399.1 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.089e-05/0.2924, allocations: 40.88 kB / 399.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003551/0.2927, allocations: 46.91 kB / 399.2 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.966e-05/0.2928, allocations: 124.6 kB / 399.3 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.2928, allocations: 7.938 kB / 399.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.2928, allocations: 9.438 kB / 399.3 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.2931, allocations: 94.56 kB / 399.4 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.2931, allocations: 0 / 399.4 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2931, allocations: 1.062 kB / 399.4 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.2931, allocations: 1.125 kB / 399.4 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.2933, allocations: 77.75 kB / 399.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.2939, allocations: 323.8 kB / 399.8 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.2941, allocations: 69.17 kB / 399.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.61e-05/0.2942, allocations: 29.97 kB / 399.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.2942, allocations: 0.9375 kB / 399.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.2942, allocations: 44.41 kB / 400 MB, free: 6.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.2942, allocations: 4 kB / 400 MB, free: 6.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003851/0.2946, allocations: 125 kB / 400.1 MB, free: 6.293 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.2946, allocations: 52.5 kB / 400.1 MB, free: 6.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.2947, allocations: 121.4 kB / 400.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.2947, allocations: 26.5 kB / 400.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.2947, allocations: 103.2 kB / 400.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.2948, allocations: 15.17 kB / 400.4 MB, free: 5.984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.2948, allocations: 24.55 kB / 400.4 MB, free: 5.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.962e-05/0.2949, allocations: 318.5 kB / 400.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.295, allocations: 24.67 kB / 400.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.166e-05/0.2951, allocations: 25.77 kB / 400.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.2952, allocations: 57.67 kB / 400.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2952, allocations: 1.094 kB / 400.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002186/0.2955, allocations: 104.1 kB / 400.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2955, allocations: 4.562 kB / 400.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.2955, allocations: 1.797 kB / 400.9 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2955, allocations: 3.938 kB / 400.9 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.2956, allocations: 17.33 kB / 401 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2956, allocations: 1.828 kB / 401 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.2957, allocations: 13.7 kB / 401 MB, free: 5.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.2957, allocations: 6.641 kB / 401 MB, free: 5.547 MB / 318.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 5.517e-05/0.2958, allocations: 118.1 kB / 401.1 MB, free: 5.426 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.2958, allocations: 10.3 kB / 401.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.2961, allocations: 115.3 kB / 401.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2961, allocations: 1.219 kB / 401.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.2961, allocations: 1.156 kB / 401.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2961, allocations: 1.219 kB / 401.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.2962, allocations: 153.4 kB / 401.4 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2962, allocations: 8 kB / 401.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-05/0.2963, allocations: 19.33 kB / 401.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2963, allocations: 0 / 401.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2963, allocations: 5.875 kB / 401.4 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2963, allocations: 0 / 401.4 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2963, allocations: 1.031 kB / 401.4 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.2966, allocations: 196.2 kB / 401.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.2966, allocations: 7.781 kB / 401.6 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.2966, allocations: 12.5 kB / 401.6 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.694e-05/0.2967, allocations: 10.08 kB / 401.6 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.2967, allocations: 3.516 kB / 401.6 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.2968, allocations: 1.953 kB / 401.6 MB, free: 5.008 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.879e-05/0.2968, allocations: 99.11 kB / 401.7 MB, free: 4.926 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2968, allocations: 0 / 401.7 MB, free: 4.926 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.297, allocations: 10.22 kB / 401.7 MB, free: 4.926 MB / 318.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.0004925/0.2975, allocations: 0.7619 MB / 402.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.2977, allocations: 65.7 kB / 402.6 MB, free: 4.219 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2977, allocations: 0 / 402.6 MB, free: 4.219 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.706e-05/0.2978, allocations: 35.25 kB / 402.6 MB, free: 4.211 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.2981, allocations: 12.45 kB / 402.6 MB, free: 4.203 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.2995, allocations: 1.484 MB / 404.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.862e-05/0.2996, allocations: 81.44 kB / 404.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.759e-05/0.2996, allocations: 8.656 kB / 404.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.069e-05/0.2997, allocations: 25.39 kB / 404.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2997, allocations: 0 / 404.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.3299, allocations: 2.561 MB / 406.8 MB, free: 1.738 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.96, allocations: 1.531 kB / 406.8 MB, free: 1.738 MB / 318.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.386880449950695]